2010-06-14 130 views
1

我正在使用的應用程序嘗試連接運行在專用數據庫服務器上的SQL Server命名實例。這裏是我得到的錯誤:SQL Server:連接時出錯

The TCP/IP connection to the host <instance_name>, port 1433 has failed. Error: Connection refused: connect. 

防火牆阻止我的訪問或什麼?我應該爲這個應用程序提供一個不同的端口嗎?

回答

1

錯誤拒絕連接意味着您的連接沒有權限連接到此SQL Server實例。

您是使用Windows身份驗證還是SQL Server登錄?

有關故障排除指南,請參閱:Troubleshooting Server and Database Connection Problems

+0

對不起,對於最近的回覆。 Windows身份驗證。 – atricapilla 2010-06-15 04:58:52