$lsof -i TCP:17500 COMMAND PID USER FD TYPE DEVICE SIZE/OFF NODE NAME DropBox 244 username 19u IPv4 0x05584748 0t0 TCP *:17500 (LISTEN)