Applies to: SharePoint Server 2013, SharePoint Foundation 2013
What ports do I need to open? Which Firewall ports and where to open them are detailed in this document. If you cannot access the web server, application server or databases due to gateways, firewalls then this document is for you.
I have compiled a complete list of all the ports used. Most are configured by SharePoint but some needs to be manually configured. Of course, this is only one scenario and it all depends on network configuration you have and whether you have a single farm, or a multi-tiered farm configured behined gateways, firewalls etc.
On each SharePoint 2013 Server, you will need to set a firewall rule to allow SharePoint intra-farm traffic and HTTP/HTTPS traffic. Also, I have listed which SharePoint server (WFE or Application, Search etc) ports are required. This will help your scenario.
So deploying SharePoint farms on servers with an active Windows firewall requires opening several ports to achieve a fully functional farm,
Please Note : For best practice manage these firewall settings using domain policies.
|25||TCP||In||SMTP for e-mail integration|
|16500 – 16519||TCP||In||Ports used by the search index component|
|22233-22236||TCP||In / Out||Ports required for the AppFabric Caching Service|
|32843-32845||TCP||In||Communication between Web servers and service applications|
|32846||TCP||In / Out||SharePoint User Code Service|
|808-809||TCP||In||Office Web Apps|
|5725||TCP||In||User Profile Synchronization Service|
|389||TCP+UDP||In||User Profile Synchronization Service (LDAP Service)|
|88||TCP+UDP||In||User Profile Synchronization Service (Kerberos)|
|53||TCP+UDP||In / Out||User Profile Synchronization Service (DNS)|
|1433||TCP||Out||Server default communication port (if no alias or custom port)|
|1434||UDP||Out||SQL Server default port used to establish connection (if no alias or custom port)|
|445||TCP||Out||SQL Server over named pipes|
|2383||TCP||Out||SQL Analysis Server default communication port (if no alias or custom port)|