Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 16 Mar 2005 22:33:10 -0000
From:      "Vince" <jhary@unsane.co.uk>
To:        "'Gary Kline'" <kline@sage.thought.org>, "'Chuck Swiger'" <cswiger@mac.com>
Cc:        'FreeBSD Mailing List' <freebsd-questions@freebsd.org>
Subject:   RE: "Connection refused"
Message-ID:  <200503162233.j2GMX83U059959@unsane.co.uk>
In-Reply-To: <20050316064715.GA85186@thought.org>

next in thread | previous in thread | raw e-mail | index | archive | help
> > 
> 
> 	This is strange; I just allowed telnet in /etc/inetd.conf and
> 	reinitialized;  from here on sage/ns1, this.  

No need to enable telnet in inetd.conf if you're just using it to test 
a tcp connection to another host, that's only if you want to be able to
 log on to the host from another machine using telnet.  

> 
> telnet tao 25
> Trying 10.0.0.247...
> telnet: connect to address 10.0.0.247: Connection refused
> telnet: Unable to connect to remote host
> 
> 	Could I be missing something in rc.conf?
> 

Hmm you should get a basic connection, on tao whats the output of 
sockstat -4 |grep :25
I get  
root     sendmail   651   3  tcp4   *:25                  *:*

i.e. is sendmail actualy running ? if yes, is it listening on any ip other
than 127.0.0.1 ? (mine is listening on *)
If still yes then do you have a firewall or tcpwrappers blocking access ?

Assuming base sendmail (not ports) what is the output of 
grep sendmail /etc/rc.conf
(should be sendmail_enable="YES" unless you are using sendmail from ports)


Vince


> 	gary
> 
> 
> > 
> 
> -- 
>    Gary Kline     kline@thought.org   www.thought.org     
> Public service Unix
> 
> _______________________________________________
> freebsd-questions@freebsd.org mailing list 
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to 
> "freebsd-questions-unsubscribe@freebsd.org"
> 



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200503162233.j2GMX83U059959>