8 Practical Linux Netcat NC Command Examples
Apr 25, 2012, 08:00 (0 Talkback[s])
How to Help Your Business Become an AI Early Adopter
The netcat utility can be run in the server mode on a specified port listening for incoming connections.
$ nc -l 2389
Also, it can be used in client mode trying to connect on the port(2389) just opened
$ nc localhost 2389