I have HOST='xx.xxx.xx.xx' and PORT = xxxx
I tried
tn = telnetlib.Telnet(HOST, port=PORT, timeout=5)
I'm getting this error
ConnectionRefusedError: [Errno 61] Connection refused
Is there any other way to telnet to port other than default one?