Solved

Cannot telnet to a Linux machine using ip address

Posted on 2013-11-11
7
360 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

Master Your Team's Linux and Cloud Stack!

The average business loses $13.5M per year to ineffective training (per 1,000 employees). Keep ahead of the competition and combine in-person quality with online cost and flexibility by training with Linux Academy.

Question has a verified solution.

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

Setting up Secure Ubuntu server on VMware 1.      Insert the Ubuntu Server distribution CD or attach the ISO of the CD which is in the “Datastore”. Note that it is important to install the x64 edition on servers, not the X86 editions. 2.      Power on th…
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 several ways to interact with files and get file information from the bash shell. ls lists the contents of a directory: Using the -a flag displays hidden files: Using the -l flag formats the output in a long list: The file command gives us mor…
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…

773 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