Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

Hi Today i came across strange problem whenever i try to pinging to my server works properly but whenever i send http request from browser the request time out happens.

can anybody help me to resolve this issue.

share|improve this question

migrated from stackoverflow.com Apr 23 '10 at 5:45

This question came from our site for professional and enthusiast programmers.

add comment

2 Answers

Can you telnet to port 80 on your server?

telnet <server_host_or_ip_address> 80

If not, is the server listening on port 80?

netstat -lntp | grep :80

If not is your webserver daemon running?

Apache for instance

ps auxw | grep [h]ttpd

If your webserver daemon is running and listening on port 80 but you still cannot connect it's probably a firewall rule.

share|improve this answer
add comment

The server responding to a ping means that it received an ICMP packet, and transmitted a response. That is ALL that ping means. It has nothing to do with the HTTP protocol on port 80. It sounds like the server is up, but the web service on the machine is down / broken.

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.