简体   繁体   中英

SQL Server 2005 not accessible

I try to connect to my local installed microsoft sql server 2005. In the firewall I allowed port 1433 for inbounding traffic. There is only the windows firewall active.

In my SQL Server, I allowed remote connections for the instance of my Server and for the SQL Browser.

When I open the console as admin and Type:

Sqlcmd

I get a message, that says: "Error establishing a connection.....allow remote connections". What could be the issue?

Open the SQL Server Configuration Manager and select your server's Network Configuration node.

Be sure that TCP/IP is enabled inside the protocols subnode.

Are you sure the firewall is open and that sql server is running on port 1433?

Have you tried to telnet to the sql server port from your local workstation using windows command line ie

telnet servername|ipaddress 1433

(telnet might not be installed on your windows as default, easy to enable via windows add/remove programs.

If the telnet is successful you will get a black box with a blinking cursor, this proves that the local can connect to the server)

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM