Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > Linux Forums > Server Operation

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Reply
 
Thread Tools Display Modes
  #1  
Old 30th July 2008, 01:56
leeeonardo leeeonardo is offline
Member
 
Join Date: Apr 2007
Posts: 57
Thanks: 14
Thanked 0 Times in 0 Posts
Default telnet: Unable to connect to remote host: No route to host

I have Centos 4.4 Server with ISP Config, but I send mail and dont happen nothing. And my logs say:
telnet mx2.hotmail.com 25
telnet: Unable to connect to remote host: No route to host

Thanks for help me.
Reply With Quote
Sponsored Links
  #2  
Old 30th July 2008, 02:25
leeeonardo leeeonardo is offline
Member
 
Join Date: Apr 2007
Posts: 57
Thanks: 14
Thanked 0 Times in 0 Posts
Default

Jul 29 17:02:49 local postfix/smtpd[24924]: warning: 192.168.1.100: hostname JLRSoftware verification failed: Name or service not known
Jul 29 17:02:49 local postfix/smtpd[24924]: connect from unknown[192.168.1.100]
Jul 29 17:02:49 local postfix/smtpd[24924]: 5F7B7B4181: client=unknown[192.168.1.100], sasl_method=LOGIN, sasl_username=web5_prueba
Jul 29 17:02:49 local postfix/cleanup[24925]: 5F7B7B4181: message-id=<20080730000249.5F7B7B4181@local.jlr-software.com>
Jul 29 17:02:49 local postfix/qmgr[23147]: 5F7B7B4181: from=<prueba@thecoolgangcorp.com>, size=4240, nrcpt=1 (queue active)
Jul 29 17:02:49 local postfix/smtp[24885]: connect to mx3.hotmail.com[65.54.244.72]: No route to host (port 25)
Jul 29 17:02:51 local postfix/smtpd[24924]: disconnect from unknown[192.168.1.100]
Jul 29 17:02:52 local postfix/smtp[24885]: connect to mx4.hotmail.com[65.54.244.232]: No route to host (port 25)
Jul 29 17:02:55 local postfix/smtp[24885]: connect to mx2.hotmail.com[65.54.245.40]: No route to host (port 25)
Jul 29 17:02:58 local postfix/smtp[24885]: connect to mx3.hotmail.com[65.54.244.200]: No route to host (port 25)
Jul 29 17:03:01 local postfix/smtp[24885]: connect to mx2.hotmail.com[65.54.244.168]: No route to host (port 25)
Reply With Quote
  #3  
Old 30th July 2008, 10:12
topdog topdog is offline
Senior Member
 
Join Date: Jan 2008
Location: South Africa
Posts: 1,352
Thanks: 0
Thanked 153 Times in 150 Posts
Default

Either your default route does not exist or you have a firewall blocking the connection
__________________
----
http://www.topdog.za.net - Got Linux problems ? - I can help.
http://www.baruwa.org - Try it.
Reply With Quote
  #4  
Old 30th July 2008, 16:36
leeeonardo leeeonardo is offline
Member
 
Join Date: Apr 2007
Posts: 57
Thanks: 14
Thanked 0 Times in 0 Posts
Default

I have disabled the firewall and disable SELinux

[root@local /]# iptables -L
Chain INPUT (policy ACCEPT)
target prot opt source destination

Chain FORWARD (policy ACCEPT)
target prot opt source destination

Chain OUTPUT (policy ACCEPT)
target prot opt source destination

And check that network:

[root@local /]# netstat -tap
Active Internet connections (servers and established)
Proto Recv-Q Send-Q Local Address Foreign Address State PID/Program name
tcp 0 0 *:mysql *:* LISTEN 3304/mysqld
tcp 0 0 *:sunrpc *:* LISTEN 3010/portmap
tcp 0 0 *:81 *:* LISTEN 3688/ispconfig_http
tcp 0 0 local.jlr-software.c:domain *:* LISTEN 3815/named
tcp 0 0 localhost.localdomai:domain *:* LISTEN 3815/named
tcp 0 0 localhost.localdomain:ipp *:* LISTEN 3142/cupsd
tcp 0 0 *:smtp *:* LISTEN 8018/master
tcp 0 0 localhost.localdomain:rndc *:* LISTEN 3815/named
tcp 0 0 *:667 *:* LISTEN 3029/rpc.statd
tcp 0 0 *:imaps *:* LISTEN 3330/dovecot
tcp 0 0 *op3s *:* LISTEN 3330/dovecot
tcp 0 0 *op3 *:* LISTEN 3330/dovecot
tcp 0 0 *:imap *:* LISTEN 3330/dovecot
tcp 0 0 *:http *:* LISTEN 3713/httpd
tcp 0 0 *:ftp *:* LISTEN 3833/proftpd: (acce
tcp 0 0 *:ssh *:* LISTEN 3188/sshd
tcp 0 0 ::1:rndc *:* LISTEN 3815/named
tcp 0 0 *:https *:* LISTEN 3713/httpd
tcp 0 268 local.jlr-software.com:ssh ::ffff:192.168.1.100:3575 ESTABLISHED 4399/0
tcp 0 0 local.jlr-software.comop3 ::ffff:192.168.1.100:1177 TIME_WAIT -

And My Route forwaring the ports to server:

TCP 21, 80, 25, 110, 81, 22, 143, 53
UDP 53
Reply With Quote
  #5  
Old 30th July 2008, 17:04
topdog topdog is offline
Senior Member
 
Join Date: Jan 2008
Location: South Africa
Posts: 1,352
Thanks: 0
Thanked 153 Times in 150 Posts
Default

whats the output of
Code:
netstat -nr
__________________
----
http://www.topdog.za.net - Got Linux problems ? - I can help.
http://www.baruwa.org - Try it.
Reply With Quote
  #6  
Old 30th July 2008, 17:06
leeeonardo leeeonardo is offline
Member
 
Join Date: Apr 2007
Posts: 57
Thanks: 14
Thanked 0 Times in 0 Posts
Default

[root@local ~]# netstat -nr
Kernel IP routing table
Destination Gateway Genmask Flags MSS Window irtt Iface
192.168.1.0 0.0.0.0 255.255.255.0 U 0 0 0 eth0
169.254.0.0 0.0.0.0 255.255.0.0 U 0 0 0 eth0
0.0.0.0 192.168.1.254 0.0.0.0 UG 0 0 0 eth0
Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

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 On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Getting e-mail working hansoffate Installation/Configuration 29 13th August 2008 16:33
Postfix problem: lost connection after CONNECT from unknown fernando_torrez Server Operation 5 30th November 2007 14:17
This is %#@*&^$# embarrassing! domino Smalltalk 34 5th February 2007 21:57
HotSaNIC domino Tips/Tricks/Mods 23 6th November 2006 05:19
Howto suggestion suse PhP ver 4 + Ver 5 wwparrish Suggest HOWTO 11 7th August 2006 13:29


All times are GMT +2. The time now is 22:44.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.