Field Notes
Engineering

Ports on Linux

Finding which process holds a port.

1 min read

  1. Check which process is using a port
netstat -tunlpin
  1. Kill the process occupying the port
kill -9 pid