virtual machine - SQL Server Management Studio connects to Azure SQL Database from Windows 10 but does not connect from VM on Windows Server 2012 -


i use absolutely same credentials , default settings connect azure sql database virtual machine windows server 2012 r2 use on laptop windows 10. same version of sql server management studio 2014.

i added both machines' ip's azure sql db firewall rules.

the firewall on vm off.

i perfect connection laptop win10, whenever i'm on vm windows server message in ssms:

connect server

cannot connect <my_database>.database.windows.net.


additional information:

a network-related or instance-specific error occurred while establishing connection sql server. server not found or not accessible. verify instance name correct , sql server configured allow remote connections. (provider: tcp provider, error: 0 - no connection made because target machine actively refused it.) (microsoft sql server, error: 10061)

for help, click: http://go.microsoft.com/fwlink?prodname=microsoft%20sql%20server&evtsrc=mssqlserver&evtid=10061&linkid=20476


no connection made because target machine actively refused it


what should connect database vm windows server? googled lot, tried things adding outbound rules windows server firewall tcp/udp/ports , trying different protocols in ssms, i'm out of ideas now.

the issue caused lack of basic connectivity vm sql azure. make sure virtual nic card mapped physical network card (wifi or ethernet) , not configured nat, local host or private network.

this article may useful.

hope helps.

regards,

alberto morillo


Comments

Popular posts from this blog

html - How to set bootstrap input responsive width? -

javascript - Highchart x and y axes data from json -

javascript - Get js console.log as python variable in QWebView pyqt -