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

 

版本:SQL server 2017 express with tools

 

打开配置管理器,开启 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访问,解决方法

相关文章:

  • 2021-06-20
  • 2022-02-24
  • 2021-09-16
  • 2021-07-19
  • 2021-11-02
  • 2022-12-23
  • 2021-09-19
猜你喜欢
  • 2021-07-29
  • 2021-12-28
  • 2021-12-13
相关资源
相似解决方案