Can I change the default port 1433?

KlayTomper 186 Reputation points
2023-01-30T04:32:47.2833333+00:00

I am running MECM with SQL Server 2016, can I change the default port number tcp 1433 to a custom one? Is there any impact for MECM?

Microsoft Security | Intune | Configuration Manager | Deployment
0 comments No comments
{count} votes

Accepted answer
  1. AllenLiu-MSFT 49,316 Reputation points Microsoft External Staff
    2023-01-30T06:10:31.93+00:00

    Hi, @KlayTomper

    Thank you for posting in Microsoft Q&A forum.

    Yes, it's available, but it's not recommended if you only have one SQL Server instance on the Server.

    We can use SQL Server Configuration Manager to configure the custom TCP port, remember to leave the TCP Dynamic Ports null.

    Here is the guidance we may refer to:

    https://learn.microsoft.com/en-us/sql/database-engine/configure-windows/configure-a-server-to-listen-on-a-specific-tcp-port?view=sql-server-ver16

    And after the configuration, we have to do the following to make sure SCCM can use the custom port correctly:

    1. Make sure the corresponding firewall entries are for the custom port
    2. Change the SMS site server DSN in ODBC Connections to the custom port:

    Administrative Tools -> Data Sources (ODBC) -> System DSN tab -> Configure SMS SQL -> Next -> Client Configuration -> Uncheck Dynamically determine port and specify custom port.


    If the answer is the right solution, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Add 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.

    0 comments No comments

0 additional answers

Sort by: Most 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.