Simpler Navigation coming for Servers and Operating Systems
Coming soon: a much simpler Servers and Operating Systems section of the Community. We will combine many of the older boards, and you won't have to click through so many levels to get at the information you need. If you are looking for an older board and do not find it, check the consolidated boards, as the posts are still there.
Networking
cancel
Showing results for 
Search instead for 
Did you mean: 

Can't ping localhost or 127.0.0.1, but from remote its OK

dark-sun
Frequent Advisor

Can't ping localhost or 127.0.0.1, but from remote its OK

Hello,
I can reach the server remotly, also ping to the server (ip and hostname) works correct.
But on the local host I can't ping anything:
no localhost, not the own IP, ...

I reduce the nsswitch to:
hosts: files

In the hosts:
127.0.0.1 localhost loopback
1.2.3.4 hostname hostname.FQDN
...

# netstat -rn seems also OK, show the default router from the subnet, but (of course) also not pingable.

Any ideas?
Thanks!
3 REPLIES
Matti_Kurkela
Honored Contributor

Re: Can't ping localhost or 127.0.0.1, but from remote its OK

Do you have ipfilter (HP product# B9901AA) installed?

If you have it, double-check all the rules related to ICMP protocol.

HP ipfilter documentation is available at:
http://www.hp.com/go/hpux-security-docs

MK
MK
dark-sun
Frequent Advisor

Re: Can't ping localhost or 127.0.0.1, but from remote its OK

Hello MK,
thanks for the hint,
no, we havent any firewall on the system.

But the problem was solved, was a missconfiguration from NIS; and server was running in timeouts ...

Thanks,
M.
dark-sun
Frequent Advisor

Re: Can't ping localhost or 127.0.0.1, but from remote its OK

(NIS problem)