Home > Common Problem > How to close port 445 using cmd

How to close port 445 using cmd

藏色散人
Release: 2020-09-07 10:59:05
Original
15294 people have browsed it

cmd method to close port 445: First use the shortcut key [Win R] to bring up the running window; then enter cmd to enter the command program window; finally enter the command "netsh advfirewall set allprofile state on".

How to close port 445 using cmd

Recommended: "Programming Video"

How to close port 445:

1. Use the shortcut key Win R to bring up the run window, enter cmd to enter the command program window, and then enter the command "netstat -na" interface to see that port 445 is already open at this time;

How to close port 445 using cmd

How to close port 445 using cmd

2. Next, open the run command program window as an administrator and enter the following command in the CMD window: netsh advfirewall set allprofile state on

netsh advfirewall firewall add rule name=deny445 dir=in action=block protocol=TCP localport=445
Copy after login

each Press the Enter key after entering the command;

How to close port 445 using cmd

The above is the detailed content of How to close port 445 using cmd. For more information, please follow other related articles on the PHP Chinese website!

Related labels:
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template