com.microsoft.sqlserver.jdbc.SQLServerException: Die TCP / IP-Verbindung zum Host localhost, Port 1433, ist fehlgeschlagen

Ich bekomme immer wieder diesen Fehler. Ich habe eine Lösung von stackoverflow (unten) ausprobiert, die bei mir nicht funktioniert hat -SQL-Ausnahme beim Herstellen einer Verbindung zum SQL Server

Ich habe versucht, Port 1433 in der Windows-Firewall zuzulassen, indem ich einen Link verwendete, der auch nicht funktionierte. Siehe Abschnitt "So öffnen Sie einen Port in der Windows-Firewall für den TCP-Zugriff"http://msdn.microsoft.com/en-us/library/ms175043.aspx

com.microsoft.sqlserver.jdbc.SQLServerException: The TCP/IP 
connection to the host localhost, port 1433 has failed. Error: 
"Connection refused: connect. Verify the connection properties. 
Make sure that an instance of SQL Server is running on the host 
and accepting TCP/IP connections at the port. Make sure that TCP 
connections to the port are not blocked by a firewall.

Bitte helfen Sie mir, dieses Problem zu beheben.

Vielen Dank

Antworten auf die Frage(3)

Ihre Antwort auf die Frage