if I do
telnet host_ip port < /dev/null
Trying host_ip...
Connected to host_ip.
Escape character is '^]'.
Connection closed by foreign host.
By checking the wireshark, the client side sends tcp rst
to the host side. Can anyone explain what happens exactly? Does telnet requires interactive mode?