Link to home
Start Free TrialLog in
Avatar of YZlat
YZlatFlag for United States of America

asked on

Cannot telnet to a Linux machine using ip address

I have tried connecting to Linux machine from my Windows machine via command line tool:

telnet xxx.xx.xx.xx

where xxx.xx.xx.xx is Linux machine's ip address

The error I get is:

Connecting To xxx.xx.xx.xx...Could not open connection to the host, on port 23:
Connect failed

What do I do?
Avatar of Mazdajai
Mazdajai
Flag of United States of America image

Is port 23 listening on the Linux machine? Is there firewall running on it?

netstat -ant

Open in new window

Avatar of YZlat

ASKER

I got a large list when ran netstat -ant
netstat -ant |grep 23

Open in new window

telnet is usually disabled. Try to use ssh rather, which is secure.

please see commands related to linux in the link below for enabling telnet.
ASKER CERTIFIED SOLUTION
Avatar of Mahesh
Mahesh
Flag of India image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of tmoore1962
tmoore1962

I agree use putty but try ssh instead of telnet. See if that works.