SQL Server不能通过外部IP访问,解决方法

SQL Server不能通过外部IP访问,解决方法

打开配置管理器,开启 TCP,右键属性设置TCP端口:

设置节点:

  • IP1 外部IP/服务器内网IP,比如我的用了192.168.3.101,若要外部访问则一定要用外网IP,并设置端口为1433
  • IP4 127.0.0.1,并设置端口为1433
  • IPALL,设置端口为1433

以下为截图:

PS:另外配置更改保存后,一定要重启数据库服务器。

SQL Server不能通过外部IP访问

SQL Server不能通过外部IP访问

SQL Server不能通过外部IP访问

 

 

相关文章: