Windows – Trouble Connecting to FTP Server on Android Smartphone

drive-letterftpnetworkingwindows 7

I do hope that I'm asking this in the correct community; the question, I think, has mostly to do with network topology.

I'm trying to use FTPuse to setup a volume letter to my Android smartphone, but I keep getting this error:

C:\Windows\system32>ftpuse x: 192.168.1.7
Connecting...
Socket Error # 10061
Connection refused.

Different permutations of the command, such as including the username and password, have made no difference. The Windows 7 desktop that I'm working from is connected to the network via ethernet:

PC <--> Switch <--> Vonage box <--> Cable modem/router/WiFi access point <--> Android smartphone

I can ping the FTP server without any problems, and I'm trying to get this working as per this suggested answer in the Android community.

Any thoughts or suggestions are greatly appreciated.

Best Answer

So, here is what you can do to troubleshoot the issue..

On your Windows install, install the telnet client ( Control Panel > Programs and Features > Turn Windows Features On/Off > Enable (check) telnet client from the list )

After you have the client installed, open a command prompt and type the following

telnet hostname.ftpsite.com 21

the telnet command will try to connect to hostname.ftpsite.com (replace this with the ftp hostname you are trying to connect to) on port 21 (which is the standard FTP port). If FTP is running as a server on port 21 at hostname.ftpsite.com, you will get back a status message. This tells you that FTP is indeed running on port 21 at the given host.

Here is an example

enter image description here

220 is a standard FTP response that essentially means everything is OK.

Another option would be to install nmap for windows, and scan your android phones IP address or hostname like this

nmap -vv -A xxx.xxx.xxx.xxx

Replace xxx.xxx.xxx.xxx with the ip address or hostname of your device. This will scan your device with verbose output, and will scan all common ports on the device. This will give you a good idea of what services are being offered on what ports on your android device.

Related Question