Skip to content

Instantly share code, notes, and snippets.

@ipan
Created January 16, 2018 06:31
Show Gist options
  • Save ipan/5d4d1540cbc53b69f7391a79940225af to your computer and use it in GitHub Desktop.
Save ipan/5d4d1540cbc53b69f7391a79940225af to your computer and use it in GitHub Desktop.
find out what process is binding the port #lsof #netstat #unix

find out what process is binding the port 4000 with lsof

lsof -i tcp:4000

and use netstat

netstat -lnt -p tcp
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment