如何在 Windows 域配置文件上正确打开本地流量的端口?

如何在 Windows 域配置文件上正确打开本地流量的端口?

我正在尝试在 Windows 防火墙上打开端口 23,特别是域配置文件。目的是允许计算机 A 和 B 与计算机 C 进行通信,它们都在同一个域中。

当我打开端口并尝试从 PC A 或 B 远程登录到 PC C 时,使用以下命令:

telnet 192.168.56.1

连接失败,显示:

Connecting To 192.168.56.1...Could not open connection to the host, on port 23: Connect failed

计算机 A 是我的台式机,运行 Windows 10;计算机 B 是我的笔记本电脑,也运行 Windows 10;计算机 C 是我的服务器,运行 Windows Server 2012 R2。如果我关闭域配置文件,所有连接都会成功。

我使用以下设置来打开端口:

Control Panel -> Administrative Tools -> Windows Firewall with Advanced Security ->

New Inbound Rule -> port -> TCP -> Specific local ports 23 -> Allow Connect -> 

Unchecked all options but the Domain profile -> named -> finished. 

我还将尝试连接的机器的本地 IP 地址添加到范围中。

如何在 Windows 防火墙域配置文件上正确打开此端口?

答案1

正如@Appleoddity 所指出的,这似乎是这个特定操作系统的问题。一旦我重新启用规则以应用于公共个人资料,问题就会立即解决。此答案的所有功劳都归功于@Appleoddity。

需要澄清的是,为了启用并允许通过我的小域进行 telnet 的能力,我需要将此规则应用于公共配置文件以及域。

相关内容