|
I've setup an FTP server on my Spring Server VPS, but I can't connect to the FTP server. I can connect from the local box itself, but I can't connect from outside the box. Any thoughts? |
|
A Spring Server VPS instance comes with a quite restrictive iptables configuration by default. In case you're not familiar with iptables, it is a low-level packet filter (firewall engine) in Linux. To see if FTP is currently allowed, run the following command, and look for ports 20 and 21 (default FTP ports):
You can, obviously, configure the iptables rules exactly the way you want. A good way to do so is to edit the iptables config files (on Debian/Ubuntu these are called /etc/iptables.conf and /etc/ip6tables.conf). You would then need to reload (import) them to have the changes take effect immediately. As well as checking iptables as oddhenriksen suggested, check that the FTP server is listening on something other than just loopback: netstat -pant|grep 21.
Jan 13 at 09:41 PM
Cry Havok ♦
|
|
hi, i ready setup FTP Setting on router, and currely have account how to using connet to ftp ? Rather than adding your question as an answer to an unrelated question, please ask your own question.
May 05 at 07:03 PM
Cry Havok ♦
|