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.

Using a router in which 2 machines are connected. on one i have installed Apache HTTPD (IP : 192.168.1.2).

Using localhost on that machine, i can see the webpage, but on another machine (192.168.1.5) when I am trying to see that webpage using IP address of the former (ie. 192.168.1.2). Its saying server not found.

ping works vice versa.

share|improve this question
    
What about port 80? Is it open? You can try: telnet 192.168.1.2 80 to check for port reachability. –  Khaled May 6 '12 at 7:57
add comment

3 Answers

I would make sure the firewall is disabled on the server with the webserver, if the website then becomes available, open whichever port the website is hosted on, probably 80 or 443.

share|improve this answer
add comment

is apache listening on your lan ip address (192.168.1.2) or is it listening on the localhost ip address ( 127.0.0.1 ). Check the config file ( httpd.conf )

share|improve this answer
add comment

Look at netstat -apn, and especially check that apache hasn't bound ipv6 only, as current distribution varieties of it are very liable to do that...

share|improve this answer
add comment

Your Answer

 
discard

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

Not the answer you're looking for? Browse other questions tagged or ask your own question.