iT邦幫忙

0

Windows dos指令 快速開啟防火牆指定Port

  • 分享至 

  • twitterImage
  •  

name = 名稱
dir = 規則 in/out 輸入輸出
action = allow/deny 允許連線 / 拒絕
protocol = tcp/udp
localport = 你要開的port

netsh advfirewall firewall add rule name= "Open Port 80" dir=in action=allow protocol=TCP localport=80

參考 https://docs.microsoft.com/zh-tw/troubleshoot/windows-server/networking/netsh-advfirewall-firewall-control-firewall-behavior


圖片
  直播研討會
圖片
{{ item.channelVendor }} {{ item.webinarstarted }} |
{{ formatDate(item.duration) }}
直播中

尚未有邦友留言

立即登入留言