SQL Server Replication Publishers and non-standard SQL Server Ports

Published On: 2021-06-01By:

People use non-standard ports for the default instance of SQL Server. What I mean by this is a port number other than 1433. In you use a non-standard port for SQL Server and you plan on using a remote publisher for SQL Server Replication, then this post is for you.

When you go to setup replication and tell your new publisher where your distributor is you’ll get an error message back which is less then helpful, telling you that you can’t connect due to a password error.

This error message is lying to do. The problem is that replication doesn’t understand non-default ports all that well and you need to trick the replication setup process to accept that you are using non-default ports. In order to fix this, connect to the distributor in Object Explorer, right-click on Replication and click on Distributor Properties. When the Distributor properties window opens, click on Publishers on the left. Then click Add, to add a new publisher. (You should already have a new publisher listed with with server name and the port number.) You’ll want to add in another entry for just the server name.

When you add the server name version, the wizard will give you an error saying that it can’t connect to the server name, and it will ask if you want to keep the server entry. When it error comes up, click Yes. This will add the server name entry to the list, and allow you to connect your publisher to the distributor.

Once you have added in the connections to the server name as well as to the port number version of the server name, the server list should look something like this.

Denny

Contact the Author | Contact DCAC

Video

Globally Recognized Expertise

As Microsoft MVP’s and Partners as well as VMware experts, we are summoned by companies all over the world to fine-tune and problem-solve the most difficult architecture, infrastructure and network challenges.

And sometimes we’re asked to share what we did, at events like Microsoft’s PASS Summit 2015.

Awards & Certifications

Microsoft Partner   Denny Cherry & Associates Consulting LLC BBB Business Review    Microsoft MVP    Microsoft Certified Master VMWare vExpert
American Business Award 2021 Gold    American Business Award 2021 Bronze    FT Americas’ Fastest Growing Companies 2021   INC 5000 Award for 2020    American Business Awards People's Choice    American Business Awards Gold Award    American Business Awards Silver Award
FT Americas’ Fastest Growing Companies 2020       Best Full-Service Cloud Technology Consulting Company       Insights Sccess Award    Technology Headlines Award
Share via
Copy link