Nc Localhost 9000, For example, on the same server, one terminal with nc -l 9000 will listen on the port 9000.