ftp is not resolving hostname from hosts file -


i have hostname in /etc/hosts,
10.0.0.124 hostname.domain hostname
can ping , ssh hostname. when enter
ftp 10.0.0.124
or ftp hostname
"no route host" in response. when comment out line, , try
ftp hostname
ftp responds "name or service not known". ftp looking in hosts file apparently not believe it. why not?? on centos 6.5 , ftp installed using yum install ftp. ftp daemon running on hostname vsftpd.

and fixed! problem hostname's firewall configured drop ftp packets. obvious! inserted
-a input -m state --state new -m tcp -p tcp --dport 21 -j accept
in /etc/sysconfig/iptables, , restarted iptables service. done!


Comments

Popular posts from this blog

html - Firefox flex bug applied to buttons? -

html - Missing border-right in select on Firefox -

python - build a suggestions list using fuzzywuzzy -