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

Issues related to configuring your network
Post Reply
Brief-Wishbone9091
Posts: 9
Joined: 2023/04/13 05:19:13

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

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

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?

User avatar
TrevorH
Site Admin
Posts: 32777
Joined: 2009/09/24 10:40:56
Location: Brighton, UK

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

Post by TrevorH » 2023/04/13 11:42:56

Telnet is an awful insecure protocol that should never be used for anything other than problem determination and debugging. Use ssh like everyone else!
CentOS 8 died a premature death at the end of 2021 - migrate to Rocky/Alma/OEL/Springdale ASAP.
Info for USB installs on http://wiki.centos.org/HowTos/InstallFromUSBkey
CentOS 5 and 6 are dead, do not use them.
Use the FAQ Luke

yrybb233
Posts: 1
Joined: 2023/05/06 04:17:04

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

Post by yrybb233 » 2023/05/06 04:23:55

use ssh
ssh -p 22 root@192.168.169.128

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

Brief-Wishbone9091
Posts: 9
Joined: 2023/04/13 05:19:13

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

Post by Brief-Wishbone9091 » 2023/05/07 10:00:28

Thank you for the information, I'll use SSH. I was just trying to practice telnet btw.

Post Reply