Connecting To port...Could not open connection to the host, on port 23: Connect failed [closed]

StackOverflow https://stackoverflow.com/questions/21240074

  •  30-09-2022
  •  | 
  •  

문제

I could not make the telnet port command execute.
I did what was told in this link.
the snapshots of my cmd are:

enter image description here

what else shall i do to execute these commands?

1enter image description here

도움이 되었습니까?

해결책

The telnet command connects to the host you specify as the first argument on the port you specify as the second argument (or 23, if you only specify a single argument).

When you tried to execute telnet port, it tried to connect to the server port on port 23. Since there is no server with the address port (unless you specified it in your pc's hosts file), telnet couldn't connect to it.

I'm guessing the second command failed, because www.udacity.com doesn't accept connections on port 8080 (the second argument of the command).

I don't see any instructions in the link you provided.

EDIT: If you're trying to connect to localhost, use telnet localhost (to connect to port 23) or telnet localhost <port> (replace <port> with the port you are trying to connect to).

다른 팁

I also faced same problem. Solution, after adding feature for telnet server, a new service is added for this but is in by default disabled state. So make sure service is running and in non disable mode.

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top