Click to See Complete Forum and Search --> : can't ping localhost help please


indy317
04-13-2003, 10:45 PM
i can ping outside world, like yahoo.com but can't ping localhost or 127.0.0.1 . anyone help me please? thankz you

homey
04-13-2003, 11:16 PM
In Redhat, check the file /etc/hosts . Check to see if you have and entry for localhost.localdomain like this.....


# Do not remove the following line, or various programs
# that require network functionality will fail.
127.0.0.1 localhost.localdomain localhost
192.168.1.2 multiscan.mydomain.com multiscan

indy317
04-14-2003, 12:03 AM
i checked /etc/ hosts but still not ping . any other idea, thankz you

homey
04-14-2003, 12:55 AM
Do you think maybe the firewall is blocking it? Check it with the command: iptables -L

indy317
04-14-2003, 01:33 AM
thankz you very much. it works now