LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices



Reply
 
Search this Thread
Old 07-29-2010, 12:07 PM   #1
grob115
Member
 
Registered: Oct 2005
Posts: 528

Rep: Reputation: 32
telnet: Unable to connect to remote host: No route to host


Am troubled by the fact that telnet works only for port 25 but not 110. The troubling thing is how the telnet test for 110 would say there's no route when it's fine for port 25. Any idea?

[test@backup ~]$ telnet <IP v4> 25
Trying <IP v4>...
Connected to <IP v4> (<IP v4>).
Escape character is '^]'.
220 production.domain.com ESMTP Postfix
^]
telnet> quit
Connection closed.
[test@backup ~]$ telnet <IP v4> 110
Trying <IP v4>...
telnet: connect to address <IP v4>: No route to host
telnet: Unable to connect to remote host: No route to host
 
Old 07-29-2010, 01:33 PM   #2
bathory
Guru
 
Registered: Jun 2004
Location: Piraeus
Distribution: Slackware
Posts: 10,973

Rep: Reputation: 1343Reputation: 1343Reputation: 1343Reputation: 1343Reputation: 1343Reputation: 1343Reputation: 1343Reputation: 1343Reputation: 1343Reputation: 1343
Hi,

It could be either a firewall blocking port 110, or a router that does not forward port 110 to an internal box.
 
Old 07-29-2010, 10:04 PM   #3
LVsFINEST
Member
 
Registered: Aug 2006
Posts: 95

Rep: Reputation: 21
This is due to IPtables blocking port 110. The default REJECT statement on alot of installs is:

REJECT --reject-with icmp-host-prohibited

And the 'icmp host prohibited' response displays as "no route to host" on the client side machine.

All you need to do is open port 110 on IPtables.
 
Old 07-30-2010, 11:18 AM   #4
grob115
Member
 
Registered: Oct 2005
Posts: 528

Original Poster
Rep: Reputation: 32
That's exactly it. I thought by turning on Mail (SMTP) it'd open both ports 25 and 110. I had to add port 110 separately. Thanks.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
telnet: Unable to connect to remote host: Connection refused thomas2004ch Linux - Newbie 1 09-11-2009 03:51 AM
telnet: Unable to connect to remote host: Connection refused stuckz Fedora 6 06-21-2007 03:36 AM
telnet: Unable to connect to remote host: Connection refused stuckz Fedora - Installation 2 06-19-2007 10:21 AM
telnet: Unable to connect to remote host: Connection refused batham Linux - Networking 0 07-07-2003 06:29 PM


All times are GMT -5. The time now is 04:56 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration