Knowledgebase: General Information
Connection refused when accessing FTP
Posted by on 16 November 2012 03:10 AM

Status: Connection attempt failed with "ECONNREFUSED - Connection refused by server".
Error: Could not connect to server

This tutorial will give you a basic verification and troubleshooting when your connection is refusing FTP. It is advice to check if your computer is able to connect to the FTP server using a telnet connection.

How to execute via telnet using FTP port

On Windows

Before you can use telnet via command prompt, install first your telnet client and server for you to enable telnet service on your computer. You can install this under Control Panel and click ‘Add/Remove programs’ on XP or ‘Programs and Features’ on Vista, Windows 7.

Access your command prompt by pressing window key + R and type to the text field ‘cmd’

Once the ‘Black Screen’ appears, this is the command prompt type the following command:

telnet my-domain-name.com 21

This command also applies with Linux and MAC OSX. This will access via terminal to execute this command.

Here are the results or reply once you type in the commands:

For Microsoft-based accounts: 220 Microsoft FTP Service

For Linux-based accounts: 220 ProFTPD 1.3.3g Server (IP ADDRESS) [::ffff:207.198.100.183]

If the problems percist, you can ask help for technical to isolate this concern further.

(0 vote(s))
Helpful
Not helpful