配置echo端口7的防火墙 [英] Configuring firewall of echo port 7
问题描述
我有一个旧应用程序,它使用TCP echo端口7来ping服务器以查看它是否存在。在服务器上它也是连接我已经安装了简单的网络功能。如果我完全关闭服务器上的防火墙,那么程序可以连接到端口
7.但是防火墙打开后,它不能。我已经在防火墙的入站部分添加了一条规则,允许任何程序在端口7上接收连接。但这并没有解决它。如何正确配置防火墙? 我使用的是Windows Server
2012标准。
I have an old application that uses TCP echo port 7 to ping a sever to see if it is there. On the server it is connecting too I have installed simple network features. If I turn off the firewall on the server completely, then the program can connect to port 7. But with the firewall turned on, it cannot. I have added a rule to the inbound section of the firewall, allowing any program to receive connections on port 7. but this did not fix it. How do I configure the firewall correctly? I am using Windows Server 2012 standard.
我已经在Windows Server线程中询问了这个问题,并建议我安装Message Analyzer。当这只能证实我的观察结果是服务器上的防火墙没有回复端口7上的传入数据包。我被告知
尝试这个论坛组寻求帮助。这是我的原始帖子的链接
I have already asked this question in the Windows Server thread and it was suggested that I install Message Analyzer. When this only confirmed my observations that with the firewall on the server did not reply to incoming packets on port 7. I was told to
try this forum group for help. Here is a link to my original post
https://social.technet.microsoft.com/Forums/windowsserver/en-US/61e9fd92-d41b -4ecd-81a2-4b29e39c93e4 / configured-firewall-of-echo-port-7?forum = winservergen
https://social.technet.microsoft.com/Forums/windowsserver/en-US/61e9fd92-d41b-4ecd-81a2-4b29e39c93e4/configuring-firewall-of-echo-port-7?forum=winservergen
推荐答案
Hello,
Hello ,
Echo Protocol使服务器发回一个相同的数据副本。因此,入站和出站都是必需的。
Echo Protocol make the server sends back an identical copy of the data it received. So both inbound and outbound are required.
因此,尝试打开端口7,因为以下命令确实是否有效:
So try to open the port 7 as the following command does to see if it works:
netsh advfirewall firewall add rule name="open TCP port 7" dir=in action=allow protocol=TCP localport=7
netsh advfirewall firewall add rule name="open TCP port 7" dir=out action=allow protocol=TCP localport=7
如果有帮助请告诉我。
祝你好运,
Rita
这篇关于配置echo端口7的防火墙的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!