Can I install SharePoint without the default port in SQL Server i.e 1433?

Shuvajit Roy 166 Reputation points
2023-07-03T07:03:20.9433333+00:00

I want to install SharePoint server 2019 . By default the SQL server communicates through port 1433.

I want to change the port and make a customize port for SharePoint and SQL server communication so that SQL server communicates through the customized port only.

Scenario 1: I want to change the port first and than install SharePoint server in the customized port. How can I archive this?

Scenario 2: I have SharePoint server installed already with SQL server communicating through port 1433. How can I change the port now? If so, any impact in SharePoint functionality changing the default port?

Microsoft 365 and Office | SharePoint Server | For business
Microsoft 365 and Office | SharePoint | For business | Windows
SQL Server | Other
0 comments No comments
{count} votes

Accepted answer
  1. Yanli Jiang - MSFT 31,606 Reputation points Microsoft External Staff
    2023-08-08T07:22:19.4366667+00:00

    Hi @Shuvajit Roy ,

    Great to know that and thanks for sharing the update here.

    By the way, since the Microsoft Q&A community has a policy that "The question author cannot accept their own answer. They can only accept answers by others.". and according to the scenario introduced here: Answering your own questions on Microsoft Q&A, I would make a brief summary of this thread:

    [Can I install SharePoint without the default port in SQL Server i.e 1433?]

    Issue Symptom:
    I want to install SharePoint server 2019 . By default the SQL server communicates through port 1433.

    I want to change the port and make a customize port for SharePoint and SQL server communication so that SQL server communicates through the customized port only.

    Scenario 1: I want to change the port first and than install SharePoint server in the customized port. How can I archive this?

    Scenario 2: I have SharePoint server installed already with SQL server communicating through port 1433. How can I change the port now? If so, any impact in SharePoint functionality changing the default port?

    Current status:
    To install SharePoint with customized port, we have to put the alias without the port separated by commas.

    With this setup SharePoint successfully installed with alias and customized port.

    You could click the "Accept Answer" button for this summary to close this thread, and this can make it easier for other community members to see the useful information when reading this thread. Thanks for your understanding!

    0 comments No comments

1 additional answer

Sort by: Most helpful
  1. Yanli Jiang - MSFT 31,606 Reputation points Microsoft External Staff
    2023-07-03T09:23:46.58+00:00

    Hi @Shuvajit Roy ,

    For Scenario 1, you can change the port number for SQL Server before installing SharePoint Server 2019 by following these steps:

    1. Open SQL Server Configuration Manager.
    2. Expand SQL Server Network Configuration and select Protocols for MSSQLSERVER.
    3. Right-click TCP/IP and select Properties.
    4. Go to the IP Addresses tab and scroll down to the IPAll section.
    5. Change the TCP Port value to your desired port number and click OK.
    6. Restart the SQL Server service.

    After changing the port number for SQL Server, you can proceed with installing SharePoint Server 2019 and specify the new port number during the installation process.

    For Scenario 2, you can change the port number for SQL Server after installing SharePoint Server 2019 by following the same steps as above. Changing the port number should not have any impact on SharePoint functionality as long as you update the connection string and any other relevant configuration settings to reflect the new port number. It is recommended that you test the changes in a non-production environment before making them in a production environment.


    If the answer is helpful, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".

    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.

    1 person found this answer helpful.

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.