简体   繁体   English

远程连接到SQL Server 2012 Standard Edition端口1433

[英]Remote Connection to SQL Server 2012 Standard Edition port 1433

I have a Windows Server 2008 R2 running SQL Server 2012 Standard Edition and: 我有一个运行SQL Server 2012 Standard Edition的Windows Server 2008 R2,并且:

  • Allow remote connection to this server (in SQL Server Management Studio) 允许远程连接到该服务器(在SQL Server Management Studio中)

  • TCP/IP Enable and configured IPserver and 1433 port (on SQL Server Network Condiguration -> Protocol for...) TCP / IP启用和配置的IPserver和1433端口(在SQL Server网络配置->用于...的协议上)

  • Named Pipes Enable (on SQL Server Network Condiguration -> Protocol for...) 启用命名管道(在SQL Server网络配置->协议用于...上)

  • Shared Memory Enable (on SQL Server Network Condiguration -> Protocol for...) 共享内存启用(在SQL Server网络配置->协议...上)

  • Firewall Off 关闭防火墙

When I run telnet localhost 1433 on the server - connect perfect. 当我在服务器上运行telnet localhost 1433时-连接完美。 But if I run telnet IPSserver 1433 or telnet DomainNameServer 1433 - not connect 但是,如果我运行telnet IPSserver 1433telnet DomainNameServer 1433 telnet IPSserver 1433无法连接

Something else netstat -a display: netstat -a显示的其他内容:

0.0.0.0:1433   NameServer:0  LISTENING
[::]:1433      NameServer:0  LISTENING

Any ideas? 有任何想法吗?

You probably have the Firewall turned on, so you have to create an exception to TCP/1433. 您可能已打开防火墙,因此必须创建TCP / 1433的例外。

Be aware that if you have multiple instances you must also create an exception for UDP/1434 and check on which port the multiple instances are binding. 请注意,如果您有多个实例,则还必须为UDP / 1434创建一个例外,并检查多个实例在哪个端口上绑定。

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

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