How do you stop the port which is already in use?

Kim Thu Đoàn

New member
How do you stop the port which is already in use?
Answer
Here’s how you can close it without having to reboot your computer or change your application’s port.
  1. Step 1: Find the connection’s PID. netstat -ano | findstr :yourPortNumber. …
  2. Step 2: Kill the process using it’s PID. tskill yourPID. …
  3. Step 3: Restart your server. …
  4. Step 4: Stop your server properly.
 

Tìm kiếm

Back
Top