Port view and release port

Port view netstat -ano
cmd to view the used port, use port 27017, corresponding to PID number 964,
Insert picture description here
open the task manager (Ctrl+Shift+Esc) to
view the PID number, mongod.exe software uses the 27017 port number
when the mongod service is started. When connecting, you can end the process tree and release the port.
Insert picture description here
End the process tree and release all the backgrounds of the software
Insert picture description here

Guess you like

Origin blog.csdn.net/rankiy/article/details/103677012