SQL Server Management Studio - How to connect to non-default instance on non-default port?
Posted on 2014-12-03
Unfortunately, I have a need to expose SQL to the Internet for one of our SQL servers.
To help with security issues, I've disabled the SA account and have created a PAT in our firewall that will map a non-standard external port to 1433.
I have 2 instance of SQL server on the particular server. Below is an example of my scenario:
PAT in firewall setup for external IP of 18.104.22.168 with a port of 6789 that maps to an internal IP of 192.168.10.1 on port 1433.
The 2 SQL instances are SQL01 and SQL01\MSSQL2008. I am wanting to connect to the SQL01\MSSQL2008 instance.
In SSMS from an external source, I'm entering "22.214.171.124\MSSQL2008,6789" but it's connecting me to the default named SQL01 instance and not the SQL01\MSSQL2008 instance.
Am I missing something? Thanks for any help in advance.