解除阻止用于MS SQL Server 2014的Windows 10 Defender防火墙

脚湿

MSSQL在Windows 10计算机(称为)上有一个MS SQL Server 2014实例(称为WINTEN)。

在上运行SSMS WINTEN,我既可以连接到本地SQL Server,也可以连接到专用网络上其他计算机上的SQL Server实例。

但是,WINTEN\MSSQL 除非完全关闭Windows Defender防火墙,否则无法建立从任何其他计算机上的SSMS到SQL Server实例的连接。

按照所有说明,我发现我向Windows防火墙添加了两个入站规则,WINTEN如下所示:

Windows Defender防火墙设置

但是,即使有这些规则,只要我启用Windows Defender防火墙,所有SSMS连接就会WINTEN\MSSQL失败,并显示以下消息:

SSMS连接错误26

配置Windows Defender防火墙以允许其他专用网络计算机连接到MS SQL Server的正确方法是什么?


根据第一条建议进行更新:我已经为SQL Server启用了TCP端口1433,如下所示:

SQL Server配置管理器

菲尔克罗夫特

打开服务并找到以下条目:

SQL Server浏览器

SQL Server(WINTEN)

进入它们的属性并记下可执行文件的路径。

在具有高级安全性的Windows防火墙中,创建4个新的入站规则,这些规则允许同时为TCP和UDP连接这两个程序。

Windows Defender设置

I normally do this via the standard Windows Firewall (firewall.cpl) which will create these rules for you with less work. Open firewall.cpl, then choose "Allow an app or feature through Windows Firewall". Choose Allow another app and add the two executable paths found previously.

The reason you need to allow the program rather than a port through the firewall is that although the SQL Browser is always on port 1433, your SQL Instance will be on a random/dynamic port which the SQL Browser will direct the connection to. If you wish to allow ports rather than programs then you would need to change the SQL Instance to a default instance and force it to use a fixed port with the SQL browser disabled.

还请检查您的SQL Browser服务是否配置为在启动时自动启动,以及在SQL Configuration Manager中是否为您的SQL实例启用了TCP / IP。

本文收集自互联网,转载请注明来源。

如有侵权,请联系[email protected] 删除。

编辑于
0

我来说两句

0条评论
登录后参与评论

相关文章

来自分类Dev

找不到SQL Server的防火墙设置

来自分类Dev

SQL Server不允许进行防火墙更新-创建防火墙规则实例时出错

来自分类Dev

Windows Defender防火墙已阻止Android Studio的某些功能

来自分类Dev

如何判断哪个Windows防火墙规则阻止了流量

来自分类Dev

如何正确阻止Windows 8防火墙中的程序?

来自分类Dev

在Windows防火墙中阻止子域

来自分类Dev

在Windows防火墙中阻止IP

来自分类Dev

在Windows防火墙中阻止IP

来自分类Dev

Windows防火墙阻止广播消息,无法将其允许

来自分类Dev

Windows 7上的SQL Server 2008 Express-防火墙问题

来自分类Dev

Windows 10 Defender防火墙MpsSvc和Internet共享服务(ICS)消耗大量CPU使用率

来自分类Dev

使用Windows防火墙阻止网站

来自分类Dev

如何重新触发“ Windows防火墙已阻止...”消息?

来自分类Dev

Windows 10更新无法连接(在防火墙之后)

来自分类Dev

Windows防火墙阻止Windows更新

来自分类Dev

为什么Windows 10防火墙会自动打开?

来自分类Dev

Windows防火墙阻止SSH到辅助子网

来自分类Dev

防火墙弹出通知不会消失(Windows 10)

来自分类Dev

使用Windows防火墙阻止Windows 10上的特定IP

来自分类Dev

Windows防火墙是否完全阻止Windows遥测?

来自分类Dev

如何可靠地阻止Windows 10防火墙中的所有传入连接?

来自分类Dev

Windows Server 2012 R2防火墙规则

来自分类Dev

Windows防火墙阻止Windows Server 2012 R2上IIS上的FTP

来自分类Dev

使用Windows 10防火墙阻止特定Windows用户的传出流量

来自分类Dev

Windows 10防火墙阻止所有LAN通信

来自分类Dev

找不到SQL Server的防火墙设置

来自分类Dev

Windows 10停止提示启用防火墙

来自分类Dev

我通过制定新的防火墙规则阻止了 Windows 10 上的端口 80 和 443,但我仍然可以浏览。如何通过防火墙阻止 HTTP 流量?

来自分类Dev

Docker 中的 Windows Server Core,防火墙

Related 相关文章

  1. 1

    找不到SQL Server的防火墙设置

  2. 2

    SQL Server不允许进行防火墙更新-创建防火墙规则实例时出错

  3. 3

    Windows Defender防火墙已阻止Android Studio的某些功能

  4. 4

    如何判断哪个Windows防火墙规则阻止了流量

  5. 5

    如何正确阻止Windows 8防火墙中的程序?

  6. 6

    在Windows防火墙中阻止子域

  7. 7

    在Windows防火墙中阻止IP

  8. 8

    在Windows防火墙中阻止IP

  9. 9

    Windows防火墙阻止广播消息,无法将其允许

  10. 10

    Windows 7上的SQL Server 2008 Express-防火墙问题

  11. 11

    Windows 10 Defender防火墙MpsSvc和Internet共享服务(ICS)消耗大量CPU使用率

  12. 12

    使用Windows防火墙阻止网站

  13. 13

    如何重新触发“ Windows防火墙已阻止...”消息?

  14. 14

    Windows 10更新无法连接(在防火墙之后)

  15. 15

    Windows防火墙阻止Windows更新

  16. 16

    为什么Windows 10防火墙会自动打开?

  17. 17

    Windows防火墙阻止SSH到辅助子网

  18. 18

    防火墙弹出通知不会消失(Windows 10)

  19. 19

    使用Windows防火墙阻止Windows 10上的特定IP

  20. 20

    Windows防火墙是否完全阻止Windows遥测?

  21. 21

    如何可靠地阻止Windows 10防火墙中的所有传入连接?

  22. 22

    Windows Server 2012 R2防火墙规则

  23. 23

    Windows防火墙阻止Windows Server 2012 R2上IIS上的FTP

  24. 24

    使用Windows 10防火墙阻止特定Windows用户的传出流量

  25. 25

    Windows 10防火墙阻止所有LAN通信

  26. 26

    找不到SQL Server的防火墙设置

  27. 27

    Windows 10停止提示启用防火墙

  28. 28

    我通过制定新的防火墙规则阻止了 Windows 10 上的端口 80 和 443,但我仍然可以浏览。如何通过防火墙阻止 HTTP 流量?

  29. 29

    Docker 中的 Windows Server Core,防火墙

热门标签

归档