简体   繁体   English

telnet 本地主机 1433 失败

[英]telnet localhost 1433 failed

I issued this command on the command line:我在命令行上发出了这个命令:

telnet localhost 1433.

And I got this message:我收到了这条消息:

Can not connect host, port 1433..无法连接主机,端口 1433..

I tried telnet 127.0.0.1 1433 too.我也试过telnet 127.0.0.1 1433

I checked:我查了一下:

  1. In SQL Server Configuration Manager > SQL Server Network Configuration > Protocols for MSSQLSERVER > TCP/IP > STATUS IS SET TO "USE"在 SQL Server 配置管理器 > SQL Server 网络配置 > MSSQLSERVER 的协议 > TCP/IP > 状态设置为“使用”

在此处输入图片说明

  1. Checked for firewall, and the firewall is off检查防火墙,防火墙关闭

  2. Tried to see if the port for 1433 is opend : netstat -an | find"1433"尝试查看 1433 的端口是否已打开: netstat -an | find"1433" netstat -an | find"1433" in the command line.在命令行中netstat -an | find"1433"

And the result is as below and I don't know what it means... Seems the port for 1433 is opened.结果如下,我不知道这意味着什么......似乎1433的端口被打开了。

在此处输入图片说明

I need your help, please tell me why I can't connect SQL Server...我需要你的帮助,请告诉我为什么我无法连接 SQL Server...

You need to open firewall for port 1433.您需要为端口 1433 打开防火墙。

Go to Windows Firewall and add new inbound rule for port 1433.转到 Windows 防火墙并为端口 1433 添加新的入站规则。

I had the same issue.我有同样的问题。 There were 2 sql servers hosting on my pc: MSSQLSERVER and SQLEXPRESS.我的电脑上托管了 2 个 sql 服务器:MSSQLSERVER 和 SQLEXPRESS。 Just set different ports for them.只需为它们设置不同的端口。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 错误:无法连接到本地主机:1433 - 连接 ECONNREFUSED 127.0.0.1:1433 docker - Error: Failed to connect to localhost:1433 - connect ECONNREFUSED 127.0.0.1:1433 docker SQLServer异常; 到主机 localhost 的 TCP/IP 连接,端口 1433 失败 - SQLServerException; The TCP/IP connection to the host localhost, port 1433 has failed 与主机 localhost、端口 1433 的 TCP/IP 连接失败 - The TCP/IP connection to the host localhost, port 1433 has failed 无法在本地或远程telnet sql端口1433 - Not able to telnet sql port 1433 locally or remotely Telnet 到 1433 端口不适用于 SQL 服务器 - Telnet to 1433 port not working for SQL Servers Node.js MSSQL tedius ConnectionError: Failed to connect to localhost:1433 - connect ECONNREFUSED - Node.js MSSQL tedius ConnectionError: Failed to connect to localhost:1433 - connect ECONNREFUSED 到主机 localhost 的 TCP/IP 连接,端口 1433 失败错误,需要帮助 - The TCP/IP connection to the host localhost, port 1433 has failed error, need assistance ConnectionError:无法连接到MyServer:1433 - ConnectionError: Failed to connect to MyServer:1433 到主机的 TCP/IP 连接,端口 1433 失败 - The TCP/IP connection to the host, port 1433 has failed TOMCAT:与主机 127.0.0.1、端口 1433 的 TCP/IP 连接失败 - TOMCAT: The TCP/IP connection to the host 127.0.0.1, port 1433 has failed
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM