"Connection refused"
Vince
jhary at unsane.co.uk
Wed Mar 16 14:32:47 PST 2005
> >
>
> 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 at thought.org www.thought.org
> Public service Unix
>
> _______________________________________________
> freebsd-questions at freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to
> "freebsd-questions-unsubscribe at freebsd.org"
>
More information about the freebsd-questions
mailing list