Instantly share code, notes, and snippets.

Embed
What would you like to do?
Learn which process has allocated the TCP port (for example "8080")
lsof -i tcp:8080
# Example output:
# COMMAND PID USER FD TYPE DEVICE SIZE/OFF NODE NAME
# java 86935 ...
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment