Reputation: 185
I'm trying to connect to my SQL Server with host AND port, but no success.
I've found that the default port for its services is 1433, but I've tried strings like .,1433
and localhost,1433
but it doesn't work, even in the SQL Server Management Studio interface. Without setting port in the string connection it works with no problems.
I'm making an app that connects to a SQL Server database, and that's why I need this to connect to any port I choose, including the default.
What am I doing wrong?
Upvotes: 1
Views: 569