Skip to main content

SharePoint/Project Server - Firewall port open list

Firewall port open list

Every time I have to install a new instance of Project Server I forget which ports have to be open.
The ports are divided into 3 lists, one list for the web front end servers, one list for the application server and one list for the SQL server.
These ports are based on a 2013 installation of SharePoint/Project Server. the 2010 installation defer a little bit.


Web Frontend Server

When a range is specified all ports between the range must be opened.
     Port(s)           Protocol        Bound Description
-       80                    TCP                  In         http
-       443                  TCP                  In         https/ssl
-        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)
-        3000                 TCP                  In/Out  Projectum Resource Manager
-        1433                 TCP                  Out      SQL 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)


Application Server

When a range is specified all ports between the range must be opened.
     Port(s)           Protocol        Bound Description
-       80                    TCP                  In         http
-       443                  TCP                  In         https/ssl
-        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)
-        3000                 TCP                  In/Out  Projectum Resource Manager
-        1433                 TCP                  Out      SQL 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)

 

SQL Server

When a range is specified all ports between the range must be opened.
     Port(s)           Protocol        Bound Description
-        1433                 TCP                  In         SQL Server default communication port (if no alias or custom port)
-        1434                 UDP                 In         SQL Server default port used to establish connection (if no alias or custom port)
-        445                  TCP                  In         SQL Server over named pipes
-        2383                TCP                  In         SQL Analysis Server default communication port (if no alias or custom port)

Comments

Popular posts from this blog

Install DLL in GAC - Windows 2008/2012 (Using Powershell, No GacUtil.exe)

If you want to install a DLL in the GAC and do not have the GACUtil.exe available. Powershell is properly the easiest way to procede.

Before Powershell you would properly just drag the DLL file into the C:\Windows\Assembly but this option is usually not available anymore.

Powershell - Add DLL to GAC So to install a DLL file in the GAC simply execute the below Powershell script. Remember you migth want to run the Powershell prompt as an administrator.
[System.Reflection.Assembly]::Load("System.EnterpriseServices, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a")$publish=New-ObjectSystem.EnterpriseServices.Internal.Publish$publish.GacInstall("c:\temp\MyDllFile.dll")iisreset
The first line adds a reference to the assembly we need to be able to mange the GAC.
The second and third lines retrives the GAC object and publish a new DLL file to it.
The last line resets the Internet Information Services. This is only needed if your DLL file is used in a websi…

Error occurred in deployment step 'Add Solution': Attempted to perform an unauthorized operation.

Received this error today when trying to create a SharePoint solution against a newly created site.


My first problem was the site was configured to use a port which was already used by another web site. Therefore the site could not start at all.

In my case both Default Web Site and SharePoint - 2000 was both using port 2000. Changing the port of Default Web Site and I was able to start the site.

However now I still received the same error message. When browsing the site I realized I did not have access to the site.

Giving access to my user and I was able to deploy the solution.

To sum up this post:
 - Check the site can start
 - Check the site can be browsed
 - Check your user have access to the site

SharePoint 2013 : Cannot connect to the targeted site.

On my Contoso environment I was trying to create a sandboxed solution. I have already configured my app domain and app management services. But when I tried to validate the site I got the following error message.
Error

Cannot connect to the targeted site. This error can occur if the specified site is not hosted on the local system. SharePoint solutions work only with locally-installed versions of SharePoint Foundation or SharePoint Server. Remote development is supported only for apps for SharePoint 2013.
If you search around the internet you will find many people suggesting to change your host file from 127.0.0.1 to the actual IP.

Solution However the solution, at least on a Contoso environment, is to type in the actual IP address in the host file.
(the IP 192.168.150.1 is the special IP for Contoso, I have 2 network adapters)
And do not forget to clear/flush the DNS cache. Now the solution can be created and validates.