Skip to main content

Notice

Please note that most of the software linked on this forum is likely to be safe to use. If you are unsure, feel free to ask in the relevant topics, or send a private message to an administrator or moderator. To help curb the problems of false positives, or in the event that you do find actual malware, you can contribute through the article linked here.
Topic: FTP server (data/transfer) port used on Android? (Read 1661 times) previous topic - next topic
0 Members and 1 Guest are viewing this topic.

FTP server (data/transfer) port used on Android?

Hi!

I'm having some headache with the Android foobar2000, more specifically it's FTP daemon feature. Since non-rooted Android won't let you open ports <1024 the port used is number 2100 instead of (conventional) number 21. So far so good, but the headache comes due to another port being used for actual data transfers, listing files etcetera. On conventional FTPDs this is port 20 (one below the 21), but it does not seem to be documented which one is used on Android foobar2000. I need to know this because I want my phone to be accessible through FTP from the Internet, meaning I need to apply NAT port forwarding in my router. Port 2100 is obviously easy peazy to forward correctly but I don't know what data port is used under the bonnet of the Android foobar2000, so I don't know which one to forward. I've tried 2099 but this did not work. So, now I can connect to my phone from the Internet, but I can't LIST files, or transfer. If the developer could shed light over this it would be much appreciated! :)

 

Re: FTP server (data/transfer) port used on Android?

Reply #1
The feature really is not meant to be used over internet. It's for quick uploading of files locally without having to worry about attaching cables. The server won't even be running when you navigate away from the server page, which renders it useless if you don't have the device in your reach when accessing it.
The FTP server seems to pick random high numbered ports in addition to the configured connection port.