Quantcast
Channel: Azure Networking (DNS, Traffic Manager, VPN, VNET) forum
Viewing all articles
Browse latest Browse all 6513

Can not connect to SQL server in Azure VM.

$
0
0

I have created virtual network in azure using 2 Virtual machine.For one server (VM1) I have installed the SQL server 2008 and for other server (VM2) I only installed the Management Studio. I have setup firewall rule correctly after that I could able to connect to SQL sever (which is intalled in VM1) using management studio. So Everything fine. So after that to save the cost I shutdown the VMs (Here I shutdown the service for deal-located the resources). Next day again I start the VMs and I tried to connect to SQL server server and It was failed. But I was able to connect to sql server if I use IP address of VM1 server. But in this scenario I need to connect to the SQL server using server name.

Please help me on this.

Thanks,

Erandika.



Viewing all articles
Browse latest Browse all 6513

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>