I setup a SQL Server 2014 server (SQL1) and a web server (WEB1) using virtual machine template on Azure a year ago. I use PC1 in the office to write code for WEB1. Everything was fine.
Device list:
------------------------------------------------------------- |WEB1 |10.0.0.5 |ASP.net web app still fine after sp2| |--------|-------------|------------------------------------| |SQL1 |10.0.0.4 |SQL Server in question | |========|=============|====================================| |PC1 |NAT |I can not login from here | -------------------------------------------------------------
Yesterday I installed SP2 on this server. After reboot, I can no longer connect to the server from SQL1 locally and PC1 remotely. WEB1 in the same subnet using SQL Server runs fine.
After research, I noticed the server went into single-user mode, so I switch the server back to multi-user (by using sqlcmd) and then I can login using SSMS on sql1.
But I can still not login from my pc using SSMS or asp.net connection string.
I've checked:
- Windows Firewall still allows public ip of my pc to connect to.
- Azure Network security group still allows any - any - MS SQL.
- SQL Server service is running.
- TCP/IP is enabled in Configuration Manager.
- I can ping SQL1 from WEB1 using its IP if ICMP Windows Firewall rule is enabled.
How to solve it?