linux - How to find process using TCP port? -
after starting http couple of times error instance of go has not stopped!?
listen tcp :9000: bind: address in use i have experienced nodejs able kill process.. unfortunately seems can't find process id , kill it..
how "free" tcp port?
if on unix system can use netstat find out process listening on port:
sudo netstat -nlp | grep 9000 turns out -p option not available on os x. if using os x can this:
lsof -n -i4tcp:$port | grep listen
Comments
Post a Comment