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 

who listening on given tcp port on mac os x?


Comments

Popular posts from this blog

css - SVG using textPath a symbol not rendering in Firefox -

Java 8 + Maven Javadoc plugin: Error fetching URL -

order - Notification for user in user account opencart -