Thursday, February 28, 2013

Access Apache Server on Windows 7 externally

I can only access my Apache server in local computer, not externally. To test this,
Go to control panel->System and Security->Windows Firewall
on left panel: Click "Turn Windows Firewall on or off", under "public network location settings"
select "Turn off Windows Firewall." and my external computer can connect to my local  Apache server.  Of course, this is not an ideal solution. Select "Turn on Windows Firewall", add new inbound rule instead.

  • Go to the Control Panel and launch "Windows Firewall"
  • Go to "Advanced Settings"
  • Select "Inbound Rules" in the left pane
  • Select "New Rule" in the right pane
  • In the New Inbound Rule Wizard, select "Port" as Rule Type, then click on "Next"
  • Select "TCP and put  80,443,1935,8081,8080-8090 in "Specific local ports", then click on "Next"
  • Select "Allow the connection", then click on "Next"
  • Give the  name  "jiansen TCP" and an optional description "Open port 80,443,1935,8081,8080-8090" for Apache server.
  • Click "jiansen TCP" and click enable Rule on right panel.
Now we should be able to connect to the Apache server externally with specific ports.

No comments:

Post a Comment