Solved

Cannot telnet to a Linux machine using ip address

Posted on 2013-11-11
7
361 Views
Last Modified: 2013-11-13
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?
0
Comment
Question by:YZlat
7 Comments
 
LVL 21

Expert Comment

by:Mazdajai
ID: 39639001
Is port 23 listening on the Linux machine? Is there firewall running on it?

netstat -ant

Open in new window

0
 
LVL 35

Author Comment

by:YZlat
ID: 39639060
I got a large list when ran netstat -ant
0
 
LVL 21

Expert Comment

by:Mazdajai
ID: 39639073
netstat -ant |grep 23

Open in new window

0
Master Your Team's Linux and Cloud Stack

Come see why top tech companies like Mailchimp and Media Temple use Linux Academy to build their employee training programs.

 
LVL 40

Expert Comment

by:omarfarid
ID: 39639256
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.
0
 
LVL 40

Expert Comment

by:omarfarid
ID: 39639260
0
 
LVL 36

Accepted Solution

by:
Mahesh earned 250 total points
ID: 39639272
Always use Putty tool to connect linux box
Telnet protocol is working on port no. 23
0
 
LVL 10

Expert Comment

by:tmoore1962
ID: 39639412
I agree use putty but try ssh instead of telnet. See if that works.
0

Featured Post

Networking for the Cloud Era

Join Microsoft and Riverbed for a discussion and demonstration of enhancements to SteelConnect:
-One-click orchestration and cloud connectivity in Azure environments
-Tight integration of SD-WAN and WAN optimization capabilities
-Scalability and resiliency equal to a data center

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

rdate is a Linux command and the network time protocol for immediate date and time setup from another machine. The clocks are synchronized by entering rdate with the -s switch (command without switch just checks the time but does not set anything). …
SSH (Secure Shell) - Tips and Tricks As you all know SSH(Secure Shell) is a network protocol, which we use to access/transfer files securely between two networked devices. SSH was actually designed as a replacement for insecure protocols that sen…
Learn how to get help with Linux/Unix bash shell commands. Use help to read help documents for built in bash shell commands.: Use man to interface with the online reference manuals for shell commands.: Use man to search man pages for unknown command…
Learn how to navigate the file tree with the shell. Use pwd to print the current working directory: Use ls to list a directory's contents: Use cd to change to a new directory: Use wildcards instead of typing out long directory names: Use ../ to move…

809 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question