We help IT Professionals succeed at work.

Local SQL Server and Broadband Card

digitalwise asked
I have a local copy of SQL 2014 running on my computer that I use for testing purposes for web development.   It works great as long as I am either A.  not connected to the internet (ie, on travel and just working) or B. on my local dedicated IP address internet connection.   If I use my broadband card for mobile internet, I get The requested instance is either invalid or not running.     I have never had this with my old computer so I clearly am missing some set up in SQL...    Any ideas?
Watch Question

Most Valuable Expert 2013
Awarded 2012
I would recommend to configure the SQL server just to listen on IP address (if you do not have to connect from elsewhere to this instance) and not on all IP addresses. It seems that in the moment you use the broadband card, this network connection has an higher rank and is therefore chosen as "primary" return IP.
Therefore open SQL Server Configuration Manager -> SQL Server Network Configuration -> Protocols -> TCP/IP -> right click -> Properties -> Listen All -> No and then select the IP address in the second tab.

Imran Javed ZiaConsultant Software Engineer - .NET Architect

If you are using IP address to access it then it may not work. It will be better to use Name instance if you have.
Ryan McCauleySenior Data Architect

Instead of using "localcomputername\instancename", can you connect as ".\instancename" (that's a period)? That tells SSMS to connect to the local server, rather than to the DNS name you provide (which may also be local).

I've seen this before (though in that case, it was an app that would only launch if the wireless connection was inactive - if you activated it first, the app would fail to launch), If this is the case and connecting to the server as a "." (period) works, I suspect it's either something with a firewall on that wireless connection or something to do with how network traffic is routed. When that connection is active, it routes traffic out of the network connection and back in through the external interface, and it might be blocked by the firewall on the connection if that happens.


This worked.