Trying 127.0.0.1... Connected to localhost. Escape character is '^]'.
https://javarevisited.blogspot.com/2016/06/how-to-close-telnet-terminal-in-linux-windows-quite-exit-not-working.html#axzz7CSkcl2K8