Page 1 of 1

Telnet: "Could not open connection to the host, on port 23: Connect failed" on Windows 10 CMD

Posted: 2023/04/13 05:21:29
by Brief-Wishbone9091

Code: Select all

telnet 192.168.169.128
Connecting To 192.168.169.128...Could not open connection to the host, on port 23: Connect failed
I've read this post: https://superuser.com/questions/956021/ ... d-window-7

And followed everything written there. I am trying to connect to my vmware workstation pro centos 7 using telnet. I can ping the IP.

Code: Select all

ping 192.168.169.128

Pinging 192.168.169.128 with 32 bytes of data:
Reply from 192.168.169.128: bytes=32 time<1ms TTL=64
Reply from 192.168.169.128: bytes=32 time<1ms TTL=64
Reply from 192.168.169.128: bytes=32 time<1ms TTL=64
Reply from 192.168.169.128: bytes=32 time=1ms TTL=64

Ping statistics for 192.168.169.128:
    Packets: Sent = 4, Received = 4, Lost = 0 (0% loss),
Approximate round trip times in milli-seconds:
    Minimum = 0ms, Maximum = 1ms, Average = 0ms
How to fix this issue?

Re: Telnet: "Could not open connection to the host, on port 23: Connect failed" on Windows 10 CMD

Posted: 2023/04/13 11:42:56
by TrevorH
Telnet is an awful insecure protocol that should never be used for anything other than problem determination and debugging. Use ssh like everyone else!

Re: Telnet: "Could not open connection to the host, on port 23: Connect failed" on Windows 10 CMD

Posted: 2023/05/06 04:23:55
by yrybb233
use ssh
ssh -p 22 root@192.168.169.128

remember
firewall-cmd --zone=public --add-port=23/tcp --permanent&&firewall-cmd --reload

Re: Telnet: "Could not open connection to the host, on port 23: Connect failed" on Windows 10 CMD

Posted: 2023/05/07 10:00:28
by Brief-Wishbone9091
Thank you for the information, I'll use SSH. I was just trying to practice telnet btw.