I issued this command on the command line:
telnet localhost 1433.
And I got this message:
Can not connect host, port 1433..
I tried telnet 127.0.0.1 1433
too.
I checked:
Checked for firewall, and the firewall is off
Tried to see if the port for 1433 is opend : netstat -an | find"1433"
netstat -an | find"1433"
in the command line.
And the result is as below and I don't know what it means... Seems the port for 1433 is opened.
I need your help, please tell me why I can't connect SQL Server...
You need to open firewall for port 1433.
Go to Windows Firewall and add new inbound rule for port 1433.
I had the same issue. There were 2 sql servers hosting on my pc: MSSQLSERVER and SQLEXPRESS. Just set different ports for them.
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.