⬅️ Linux 🔗 Stack Overflow

sudo lsof -i -n -P | grep TCP

For a specific port

lsof -i :PORT_NUMBER