Problem connecting SQL Server Linux using SSMS
How do I connect to remote SQL Server using SSMS? I know this is a classic question, but i can’t seem to find any solution.
I created an Ubuntu 16.04 LEMP droplet and installed SQL Server Linux by following this example. I have tried connecting using
sqlcmd -S localhost -U sa -P mypassword command, it works.
However, when I tried connecting using SSMS it gave me error: “A network-related or instance-specifi 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: TCP Provider, error: 0 - The wait operation timed out.) (Microsoft SQL Server, Error: 258)”
Note: I have set my firewall to allow incoming traffic on port for 1433 TCP