Can telnet to localhost but not its own IP address.
Can telnet to localhost but not its own IP address.
am 18.12.2007 21:01:58 von Gromit Wallace
Very recent new Solaris 10 installation
Sun sparc 280R
bash-3.00# telnet 172.16.225.66 25
Trying 172.16.225.66...
telnet: Unable to connect to remote host: Connection refused
bash-3.00# telnet localhost 25
Trying 127.0.0.1...
Connected to localhost.
Escape character is '^]'.
220 host.domain.com ESMTP Sendmail 8.13.7+Sun/8.13.7; Tue, 18 Dec 2007
11:23:47 -0800 (PST)
quit
bash-3.00# telnet host.domain.com 25
Trying 172.16.225.66...
telnet: Unable to connect to remote host: Connection refused
bash-3.00# telnet 127.0.0.1 25
Trying 127.0.0.1...
Connected to 127.0.0.1.
Escape character is '^]'.
220 host.domain.com ESMTP Sendmail 8.13.7+Sun/8.13.7; Tue, 18 Dec 2007
11:27:31 -0800 (PST)
Re: Can telnet to localhost but not its own IP address.
am 18.12.2007 21:16:45 von Andrzej Filip
Gromit Wallace writes:
> Very recent new Solaris 10 installation
>
> Sun sparc 280R
>
>
> bash-3.00# telnet 172.16.225.66 25
> Trying 172.16.225.66...
> telnet: Unable to connect to remote host: Connection refused
>
> bash-3.00# telnet localhost 25
> Trying 127.0.0.1...
> Connected to localhost.
> Escape character is '^]'.
> 220 host.domain.com ESMTP Sendmail 8.13.7+Sun/8.13.7; Tue, 18 Dec 2007
> 11:23:47 -0800 (PST)
> quit
>
> bash-3.00# telnet host.domain.com 25
> Trying 172.16.225.66...
> telnet: Unable to connect to remote host: Connection refused
>
> bash-3.00# telnet 127.0.0.1 25
> Trying 127.0.0.1...
> Connected to 127.0.0.1.
> Escape character is '^]'.
> 220 host.domain.com ESMTP Sendmail 8.13.7+Sun/8.13.7; Tue, 18 Dec 2007
> 11:27:31 -0800 (PST)
It is most likely Sendmail-FAQ/4.22.
http://www.sendmail.org/faq/section4.html#4.22
Subject: Q4.22 -- Why can't I receive external mail?
Date: December 4, 2002
Updated: August 16, 2004
--
[pl>en: Andrew] Andrzej Adam Filip : anfi@priv.onet.pl : anfi@xl.wp.pl
Open-Sendmail: http://open-sendmail.sourceforge.net/
Re: Can telnet to localhost but not its own IP address.
am 19.12.2007 04:27:04 von usenetpersongerryt
On Dec 18, 12:01 pm, Gromit Wallace wrote:
> Very recent new Solaris 10 installation
> Sun sparc 280R
> bash-3.00# telnet 172.16.225.66 25
> Trying 172.16.225.66...
> telnet: Unable to connect to remote host: Connection refused
> bash-3.00# telnet localhost 25
> Trying 127.0.0.1...
> Connected to localhost.
> Escape character is '^]'.
> 220 host.domain.com ESMTP Sendmail 8.13.7+Sun/8.13.7; Tue, 18 Dec 2007
> 11:23:47 -0800 (PST)
> quit
> bash-3.00# telnet host.domain.com 25
> Trying 172.16.225.66...
> telnet: Unable to connect to remote host: Connection refused
> bash-3.00# telnet 127.0.0.1 25
> Trying 127.0.0.1...
> Connected to 127.0.0.1.
> Escape character is '^]'.
> 220 host.domain.com ESMTP Sendmail 8.13.7+Sun/8.13.7; Tue, 18 Dec 2007
> 11:27:31 -0800 (PST)
It would seem that you are using local.cf - that's the way it supposed
to work.
Re: Can telnet to localhost but not its own IP address.
am 19.12.2007 15:55:15 von Gromit Wallace
> It would seem that you are using local.cf - that's the way it supposed
> to work.
You are right. I have an identical system that CAN ping its own IP
with
sendmail working, so it created confusion.
The system in question had a problem with its /etc/resolv.conf.
Now that it is corrected, the sendmail works.
Thanks!