In SSMS v19 I can successfully connect/login to a SQL server that is listening on the default port 1433
Server : server.env.domain.com,1433
Authentication : SQL Auth
And I can query any of the databases hosted on this server.
Does SSMS reveal the connection-string it is using to make this connection ? I've searched quite a bit and can't find it.
Or is there an API I can call that would return the exact connection string used by SSMS ?
I ask because I am unable to connect via another app located on the same client machine as SSMS. I would like to know exactly how SSMS is making its connection.
Cannot connect to xxxxxxxxxx. A network-related or instance-specific error occurred while establishing a connection to SQL Server. The server was not found or was not accessible. Verify that the instance name is correct and that SQL Server is configured to allow remote connections. (provider: Named Pipes Provider, error: 40 - Could not open a connection to SQL Server) (Microsoft SQL Server, Error: 53) The network path was not found
Server : server.env.domain.com,1433