关闭445端口的方法 您所在的位置:网站首页 电脑怎么查看445端口已禁用呢 关闭445端口的方法

关闭445端口的方法

2024-07-14 19:25| 来源: 网络整理| 查看: 265

一、查看端口

打开cmd,查看端口指令

netstat -na

以查看系统所有端口状态,找到445端口,就可以查看该端口状态了。

字符过滤,查询方法:

netstat -ano -p tcp | find "445"

 

TODO 怎么判断是否已经关闭?

 

二、运行这两条命令: 

C:\Windows\system32>netsh advfirewall firewall add rule name=”deny445” dir=in protocol=tcp localport=445 action=block C:\Windows\system32>netsh firewall set portopening protocol=tcp port=445 mode=disable name=deny445

 

 

参考资料

win7如何关闭端口?445端口怎么关闭?

https://jingyan.baidu.com/article/09ea3ede7471d9c0aede3997.html

 

在win上面关闭445端口的方法

https://blog.csdn.net/m0_37886429/article/details/72121903?utm_source=blogxgwz4

 



【本文地址】

公司简介

联系我们

今日新闻

    推荐新闻

    专题文章
      CopyRight 2018-2019 实验室设备网 版权所有