Firewall – Cannot reach Apache through local network

apache-2.2firewall

I just installed EasyPHP so as to have an Apache web server with PHP and everything included. This works like a charm when I access it by browsing to http://127.0.0.1:8888/, but unfortunately it fails when I go to http://192.168.x.x:8888/ (where x is my computer address in my local network). In Chrome, I get the following error:

Error 102 (net::ERR_CONNECTION_REFUSED)

What I've tried:

  • I am able to ping to my computer using ping 192.168.x.x.
  • I've added an exception to Windows Firewall so as to let it pass requests to the 8888 port, to no avail.

Would anyone possibly know what could be the cause?

Best Answer

Try add "Listen 192.168.x.x:8888" to Apache conf and edit VirtualHost:

<VirtualHost *:8888>