Skip to content
This repository has been archived by the owner on May 28, 2021. It is now read-only.

close terminal port still in use #137

Open
paul-xiao opened this issue Mar 29, 2019 · 2 comments
Open

close terminal port still in use #137

paul-xiao opened this issue Mar 29, 2019 · 2 comments

Comments

@paul-xiao
Copy link

hi @icebob
when i press ctrl + C to stop to the current process, it shows

Starting inspector on 127.0.0.1:9229 failed: address already in use
[nodemon] app crashed - waiting for file changes before starting...

then i need to find the pid of this port, and kill it manually use 'kill -9 pid'
It’s a bit troublesome to do this every time.

how to automatically remove port occupancy when the current process stops instead of manual operation

@drukepple
Copy link

👍

@DuYueYu
Copy link

DuYueYu commented Dec 13, 2019

if you are in windows, you can try this:
netstat -aon|findstr "9229"
and you will find which one using the port 9229, consider to kill it.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants