Could not open connection to the host, on port 23: connection failed

Posted on 2009-07-12
Last Modified: 2012-08-14
I am trying to connect to my cisco router,
i can connect through console but when i try to telnet it shows:
" Could not open connection to the host, on port 23: connection failed "
here is my conf:
line vty 0 4
access-class 23 in
password 7 ............
login local
transport input telnet
transport output telnet

this is the current configuration i tried a lot of things but it didn't work even when i tried to login using hyper terminal to telnet its ip its not working
N.B I am able to ping to the routers IP
ANy suggestions please
Question by:first_MCITP

Expert Comment

ID: 24834093
Remove the "access-class 23 in" under the line vty 0 4. The access-list is probalby preventing you from coming in.
LVL 16

Accepted Solution

memo_tnt earned 500 total points
ID: 24834098
do you have an ACL 23 to permit you network as the following

access-list 23 permit
access-list 23 permit
access-list 23 permit
access-list 23 permit

plus here is a working config.

line vty 0 4
 access-class 23 in
 exec-timeout 120 0
 length 0
 transport preferred all
 transport input all
 transport output all


Featured Post

Connect further...control easier

With the ATEN CE624, you can now enjoy a high-quality visual experience powered by HDBaseT technology and the convenience of a single Cat6 cable to transmit uncompressed video with zero latency and multi-streaming for dual-view applications where remote access is required.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
DMVPN Spoke Connectivity Issue 1 34
ospf neighbors not coming up 6 59
Public IP Address - Subnet 4 33
Connectivity issues after power outage 5 31
Hello All, I have been training on Multicast for a while now and whenever I start the topic , I find out that my friends /  Colleagues mention that they do not know how to test Multicast Joins. As most of the multicast would be video traffic and …
#Citrix #Citrix Netscaler #HTTP Compression #Load Balance
Viewers will learn how to properly install and use Secure Shell (SSH) to work on projects or homework remotely. Download Secure Shell: Follow basic installation instructions: Open Secure Shell and use "Quick Connect" to enter credentials includi…
After creating this article (, I decided to make a video (no audio) to show you how to configure the routers and run some trace routes and pings between the 7 sites…

792 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