XAMPP is not accessible from other computer through LAN, when Firewall is enabled?

I'm using xampp 1.7.7 in my Windows 7 and I can't access PHP application hosted in my PC through LAN in any other computer.

But if I disable Firewall then every thing goes fine; But I dont want to disable firewall.


Solution 1:

Maybe try allowing the specific HTTP ports through the firewall

Go into the Windows Firewall settings and click the "Advanced" button, and in the next dialog click "Inbound Rules" - click "New Rule"

  1. In the rule type window, choose Port
  2. In the program window, leave All Programs selected
  3. In protocols and ports, leave protocol as TCP, and Local Ports should be "Specific Ports", enter 80,443
  4. In the scope window, don't enter any specific ip addresses
  5. In the action window, Allow the Connection
  6. In the profile window, leave them all ticked
  7. And finally, in the name, call it something useful, like HTTP_ports