telnetの代わりにcurl、nc


サーバによってコマンドが入っていたり入っていなかったりなので、メモ

telnet

telnet <host> <port>

curl

curl -v telnet://<host>:<port>

nc

nc -vz <host> <port>