nc -l -p <port number> e.g. nc -l -p 1025 then from a remote machine: telnet <hostname> 1025 And see if connection is successful.