19
votes
7answers
4k views

something like telnet, but “listen on”, not “connect to”

With the telnet program one can connect to any TCP port on any host, but is there a way to listen on some port on current host? i.e. 1) on host a: telnet listen 12345 2) on host b: telnet host_a ...