Enable Port Access for SharePoint Sites
After a new Server 2008 and SharePoint 2010 installation on the awesome freely available Oracle VirtualBox I was presented with a port access issue. What I was trying to accomplish is a multi-site farm, on different ports (sp2010:81, sp2010:81, sp2010:83), on the newly SharePoint 2010 I just installed. It worked just fine inside the virtual environment but not from outside. I kept getting “webpage not found” for any other ports but 80.
So, obviously I started to play with the Port Forwarding on the router and then with firewall on the client machine to no avail. After few hours of banging my head against the wall with no clear web search results I started to concentrate my attention to the new server. It looked like a simple thing in the firewall settings. And I was right! Here are the simple steps to enable any port access in the firewall.
On your Windows Server 2008 go to Start >> Administrative Tools >> Windows Firewall with Advanced Security.
Right-click on Inbound Rules >> New Rule… >> Select Port in the new wizard window and click next.
On the new wizard windows under Protocol and Ports select TCP and for “Specific local ports:” add your port number(s), for this example I decided to enable port 81 thru 91 (81-91) and click Next.
On the next window under Action select “Allow the connection” and click Next.
Select all three choices on the next window and click Next. Give your new rule a name (I named it “Ports 81-91”) and click Finish.
Now that you’ve created the new rule make sure everything is set up correctly. Under “Inbound Rules” right-click on your new rule and click on Properties. Under “Protocols and Ports” tab make sure you have the Protocol type as TCP and under Local port your needed port(s).
That’s all folks! If you followed these steps properly you should now have access to the SharePoint sites on the ports you need.