Quantcast
Channel: Security forum
Viewing all articles
Browse latest Browse all 12072

Windows Firewall blocks local IIS connection to SQLExpress

$
0
0

Hi All: I have a server2008R2 virtual instance running at Godaddy. The server has IIS and SQLExpress 2008 R2 running. I'm using a standard security connection string to connect to the database from the website:

Provider=SQLNCLI10;Server=.\SQLEXPRESS;Database=myDataBase;Uid=myUsername;
Pwd
=myPassword;

When Windows Firewall is enabled, I can't connect to the database from the website, although SMS is able to connect when launched locally. If I stop the firewall service the website connects to the local database fine. What would be causing the firewall to block local connections to the database from IIS?

When firewall is running, I have an inbound rule to allow TCP/IP 1433 for only a couple of remote IPs in the "Scope". Would that block local connections too?

In SQL Configuration Manager, I have Shared Memory and TCP/IP enabled, and Named Pipes and VIA disabled.


Viewing all articles
Browse latest Browse all 12072

Trending Articles



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