Al Cooper wrote Tuesday, August 19, 2008 2:38 PM
>
> Thanks for your response Gerald,
>
> I restart xinetd as you suggested and got no errors:
>
> [root (at mark) mail1 ~]# /etc/init.d/xinetd restart
> Stopping xinetd: [ OK ]
> Starting xinetd: [ OK ]
>
> And tried to connect to FTP again and got the same error.
>
> [root@mail1 ~]# ftp localhost
> ftp: connect: Connection refused
> ftp>
>
> Any other suggestions?
>
What does
netstat -tupan | grep :21
read.
Should be something like;
[root@cbq ~]# netstat -tupan | grep :21
tcp 0 0 0.0.0.0:21 0.0.0.0:*
LISTEN 16516/xinetd
Maybe you have a firewall blocking, although I believe you tried.
ftp and telnet at localhost.
Gerald