How to check whether the port is closed: 1. Press the start key R directly on the keyboard; 2. Enter the DOS command; 3. Right-click the mouse on a single machine and paste the find command; 4. Press the Enter key to view.
The operating environment of this article: Windows 7 system, Dell G3 computer.
How to check whether the port is closed?
1. Click the start menu in the lower left corner of the computer and select Run. Or just press the start key R on the keyboard.
2. Enter cmd to enter the DOS command.
3. Copy the string in brackets (netstat -ano -p tcp | find "445" >nul 2>nul && echo Port 445 is open, please close it as soon as possible Port and patch || You can use it with confidence if the echo 445 port is not open). In the black area, right-click the mouse on a single machine and paste it. Note that you cannot use the ctrl V shortcut key to paste.
#4. Press the Enter key after inputting to check whether port 445 is closed.
For more related knowledge, please visit the FAQ column!
The above is the detailed content of How to check if a port is closed. For more information, please follow other related articles on the PHP Chinese website!