I try to connect to a remote windows server that has a SQL Instance running using SQL Authentication via my local SSMS and this the error I get:
Cannot connect to 123.123.123.123\WIN-ODF1AGSBGZ
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: SQL Network Interfaces, error: 26 - Error Locating Server/Instance Specified) (Microsoft SQL Server, Error: -1)
Steps I made:
- Open port on the server to TCP 1433 - Inbound Rules
- SQL Server Configuration Manager - SQL Server (mssqlserver), SQL Server Browser, SQL Server Agent are running
- Allow remote connections to this server is checked
How I try to connect to the instance:
- Server name: 123.123.123.123/WIN-ODF1AGSBGZ
- Authentication: SQL server authentication
- Login: same user name as in remote
- Password: same password as in remote