Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- $ sudo netstat -lntp
- Active Internet connections (only servers)
- Proto Recv-Q Send-Q Local Address Foreign Address State PID/Program name
- tcp 0 0 0.0.0.0:35813 0.0.0.0:* LISTEN -
- $ sudo lsof -i :35813
- $ sudo lsof -Pni -sTCP:LISTEN
- COMMAND PID USER FD TYPE DEVICE SIZE/OFF NODE NAME
- rpc.statd 520 statd 9u IPv4 11556 0t0 TCP *:56969 (LISTEN)
- rpc.statd 520 statd 11u IPv6 11562 0t0 TCP *:46289 (LISTEN)
- rpcbind 522 root 8u IPv4 11545 0t0 TCP *:111 (LISTEN)
- rpcbind 522 root 11u IPv6 11548 0t0 TCP *:111 (LISTEN)
- $ sudo fuser 35813/tcp
- $ telnet 192.168.0.16 35813
- Trying 192.168.0.16...
- Connected to 192.168.0.16.
- Escape character is '^]'.
Add Comment
Please, Sign In to add comment