This is a reposting of my question on the CentOS Forums here a I am feeling quite in over my head here and StackExchange has been good to me in the past.
I am having some trouble connecting to my server via FTP. I am using the ISPConfig backend (which is unfamiliar to me) and I have had a Google to see if I can setup FTP properly. ISPConfig says that my FTP service is running.
I get the following two errors depending on where I try to connect from:
Error: Could not connect to server: No route to host
Make sure to enter the correct server address
Ensure that the server is up and running.
Check your firewall configuration, port 21 needs to be opened.
Check your NAT router configuration, port 21 needs to be forwarded.
In some cases your ISP might block that port. In this case configure the server to use a different port. Contact your ISP for details.
Filezilla
Status: Connection attempt failed with "ECONNREFUSED - Connection refused by server".
I have done a ping test to my host name and it resolves (96ms so it's not getting lost)
Below are my conf files that I think are relevant:
- proftpd.conf
- iptables-config
- /etc/sysconfig/iptables
-
Your iptables-config file will need to include nf_conntrack_ftp as a module that needs to be loaded... -- TrevorH
I did a quick search on how to load the module, as it was already in my proftpd.conf file and came across this answer on ServerFault after running the command this is my output /etc/rc.d/rc.sysinit output
UPDATE
I can confirm Port 21 is open as I get the following from netsat
tcp 0 0 :::21 :::* LISTEN 1069/proftpd
I tried using the ftp
command in terminal and this is my response
computer:~ user$ ftp IP-ADDRESS
ftp: Can't connect to `IP-ADDRESS': Connection refused
tl;dr
I can't connect via FTP and I have no idea what's happening...
edits
- 30 Oct 14-1: Updated my conf files to show my progress
- 30 Oct 14-2: Added
iptables -L -n
output