If i do a ftp localhost , it works but if i do a ftp x.x.x.x (ip ) it does not work thoug all the services are running what could be the reason for this
bash-3.00# ftp localhost
Connected to localhost.
220-
bash-3.00# ftp 10.63.25.176
Connected to 10.63.25.176.
421 Service not available, remote server has closed connection
ftp> netstat -a | grep ftp | grep -v tft^C
ftp> bye
bash-3.00# netstat -a | grep ftp | grep -v tftp
*.ftp *.* 0 0 49152 0 LISTEN
*.ftp *.* 0 0 49152 0 LISTEN
bash-3.00# svcs ftp
STATE STIME FMRI
online 5:02:51 svc:/network/ftp:default
If that is the case you would get a closed connection. Verify you have a in.ftpd:ALL (or whatever IPs) statement in /etc/hosts.allow (it may say in.ftpd:127.0.0.1)
There should be output in /var/adm/messages that details the failed connection.
# mdb -k
Loading modules: [ unix krtld genunix specfs dtrace ufs sd pcipsy ip
sctp usba fctl nca crypto zfs random ipc nfs audiosup logindmux ptm
cpc fcip sppp lofs ]
> do_tcp_fusion/X
do_tcp_fusion:
do_tcp_fusion: 0
If the value returned is "0" the host is not impacted.