2 ms·
Don’t use Telnet to check a port. It’s overkill that puts you in the situation where you have to force it to abort because the server doesn’t speak telnet. Net
by salmo 7y ago
Don’t use Telnet to check a port. It’s overkill that puts you in the situation where you have to force it to abort because the server doesn’t speak telnet.
Netcat (based on the old Hobbit code) or nmap’s ncat are pretty universally installed. It just opens a socket and lets you type away until EOF (^D). Or you can just do “nc -v host port < /dev/null” (or just do ”-z” for non-ncat). Hilariously my phone doesn’t have backticks for me to denote those as commands.
- m463 7y agoYou have a point - you should use the best tool for the job. It's just that telnet seems to be more universally installed in my experience. (arch linux for example)