lsof -Pni
oder
ss -tulpn
„Server“ (auf IP 192.168.1.213):
nc -l -p 5555
„Client“:
nc 192.168.1.213 5555
socat TCP-LISTEN:5555 -