View Full Version : [SOLVED] Apache - Web pages not accessable from other computers on LAN

December 22nd, 2010, 03:50 PM
I have two computers. I have installed Apache on one of them. I can access webpages from local computer (http://localhost/bc). But I can not access them from other computer on network.

Computer A ( with Apache is connected to internet. It shares the internet with computer B ( on network. Default gateway for computer B is . I am trying to access the webpages from computer B ( but can not connect.

December 22nd, 2010, 04:04 PM
Does computer B have any issues accessing the internet thru that shared connection you have...? Also, can you ping computer A/the gateway from computer B?

Might also be good to check firewall rules - if you have UFW enabled, you'll need to allow port 80 to that IP. I allow all local traffic to my server, you may or may not want to do that... It is a security loophole if a lot of people get on your LAN.

December 22nd, 2010, 04:27 PM
First thing I would check would be firewall rules.

Also post the output of this, when run from the machine running apache:


December 22nd, 2010, 04:30 PM
Thank you very much...

Computer B can access internet.

The problem was with firewall rules. I allowed port 80 for just

December 22nd, 2010, 04:38 PM
The problem was with firewall rules. I allowed port 80 for just

Glad to hear it :D