Reputation: 3315
I have a SQL Server in RDS in private subnet on port 1433.
I open a SSH tunnel and use local port 21433.
I am not able to connect it using SSMS if I give db host as localhost,21433 or .21433
Please advise what the connection string needs to be in this case, even sqlcmd
did not work.
I am able to connect same DB using another clinet "Dbever"
Upvotes: 0
Views: 12801
Reputation: 161
Follow this steps :
Now you are able to connect to your SQL Server instance remotely using SQL Server Management Studio.
If there is problem persist in remote connection, you most likely need to configure your firewall settings. Make sure the TCP port 21433 is not blocked by your firewall.
Upvotes: 3