-
Notifications
You must be signed in to change notification settings - Fork 8
Terminate Port 9000
Step 1 : Close program occupy on that port
This will kill the process.
Step 1 : Open command line and type
netstat -ano | findstr 9000
This step will check if port 9000 being used by another program.
The red circled area shows the PID(process identifier). It is used to locate which PID process that your port is/are running
Step 2 : In command line, type
taskkill /PID <PID> /F
This step will terminate the current running program.
Step 1: Open terminal and type
sudo nestat -ltnup | grep ':9000'
Step 2: Type
sudo kill -9 <PID>
This will force the current process on port 9000 to stop.
Image below shows the process has been interrupted.
Lastly to check whether the operation is succeed or not, you can re-running step 1. If it was successful, you will not getting result from running Step 1