Step 1: Query the applied PID value occupying the port (Process Identification Process ID)
Enter the command in the DOS window:
netstat -aon|findstr "port number "
to get the PID of the occupied port application, the port number is determined according to its own occupied port number
Step 2: Query the process for the specified PID value
In the DOS window, enter the command:
tasklist|findstr "PID value "
to view the specified PID process. The PID value is obtained according to the port number occupied by itself
Step 3: End the process occupying the port
In the DOS window, enter the command:
taskkill /T /F /PID PID value
to end the process command, the PID value should be changed to the PID value of the process you want to end
It is also possible to find the corresponding PID value of the process in the task manager manually right-click to end
Read More:
- Kill the specified port CMD command line taskkill in window
- socket.error : [errno 10048] and view PID process number and port number
- The Tomcat connector configured to listen on port 7014 failed to start
- solve java.net.SocketException : Unrecognized Windows Sockets error: 0: JVM_ Bind
- Boot nginx flash back under Windows
- Solutions to ADB failed to start daemon
- ADB connection error
- You must restart ADB and eclipse
- Error:could not fork child process: There are no available terminals (-1).
- Error code: events.js:183 throw er; // Unhandled’error’ event—solution
- Port 4200 is already in use.Use ‘-port’ to specify a different port error Reasons
- Android error: ADB port is occupied( adb.exe ,start-server’ failed — run manually if necessary)
- linux tomcat Run (DWP exit error AGENT_ERROR_TRANSPORT_INIT(197): No transports initialized [debugIni)
- filezilla Failed to create listen socket on port 21 for IPv4 solution
- Solution to the problem that listen TCP 0.0.0.0:3306: bind: address already in use port is occupied in Linux centos7
- Oracle 12C installation process related errors and Solutions
- Nodejs exception error: listen eacces 127.0.0.1:8000
- Git bash Error: Could not fork child process: There are no available terminals (-1)
- Node.js Using port 80 to report errors in Linux
- Error: Could not fork child process: There are no available terminals (-1).