Date: 02 Jun 2002 23:26:33 +0100 From: "S. Roberts" <sroberts@dsl.pipex.com> To: FreeBSD-Questions <freebsd-questions@freebsd.org> Subject: Unable to connect to localhost Message-ID: <1023056794.315.106.camel@Demon.Strobe.org>
index | next in thread | raw e-mail
[-- Attachment #1 --]
Hello,
Might be a simple one for many of you, but I kinda thought I had
this sorted.., not!
I thought I'd check the currently installed version of sendmail running
on a FreeBSD system here., and got this:
# date
Sun Jun 2 23:16:04 BST 2002
# exit
exit
$ telnet localhost 25
Trying ::1...
telnet: connect to address ::1: Connection refused
Trying 127.0.0.1...
telnet: connect to address 127.0.0.1: Permission denied
telnet: Unable to connect to remote host
$
I then check /var/log/security, and see:
$ su
Password:
# tail /var/log/security
Jun 2 23:16:15 <snip> /kernel: Connection attempt to TCP ::0001:25 from
::0001:1207
Jun 2 23:16:15 <snip> /kernel: ipfw: 910 Deny TCP 127.0.0.1:1208
127.0.0.1:25 out via lo0
#
I check what tcpdmatch says about the user's priviledges:
$ tcpdmatch telnetd <user>
warning: telnetd: no such process name in /etc/inetd.conf
warning: <user>: hostname alias
warning: (official name: <domain name>)
client: hostname <host name>
client: address <ip>
server: process telnetd
matched: /etc/hosts.allow line <line number>
option: allow
access: granted
$
I alo noticed that I can't access via url: http://localhost:80 either -
I get the message: "The connection was refused when attempting to
contact localhost.".
So., what's the matter here? I'm happy to post more details if required
(as in firewall rules and such). Thanks to all those that might reply!
Stacey
--
Stacey Roberts B.Sc. (HONS) Computer Science
Network Systems Engineer
[-- Attachment #2 --]
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Content-Type: text/plain
Content-Transfer-Encoding: quoted-printable
Hello,=20
Might be a simple one for many of you, but I kinda thought I had
this sorted.., not!=20
I thought I'd check the currently installed version of sendmail running
on a FreeBSD system here., and got this:=20
# date=20
Sun Jun 2 23:16:04 BST 2002=20
# exit=20
exit=20
$ telnet localhost 25=20
Trying ::1...=20
telnet: connect to address ::1: Connection refused=20
Trying 127.0.0.1...=20
telnet: connect to address 127.0.0.1: Permission denied=20
telnet: Unable to connect to remote host=20
$=20
I then check /var/log/security, and see:=20
$ su=20
Password:=20
# tail /var/log/security=20
Jun 2 23:16:15 <snip> /kernel: Connection attempt to TCP ::0001:25 from
::0001:1207=20
Jun 2 23:16:15 <snip> /kernel: ipfw: 910 Deny TCP 127.0.0.1:1208
127.0.0.1:25 out via lo0=20
#=20
I check what tcpdmatch says about the user's priviledges:=20
$ tcpdmatch telnetd <user>=20
warning: telnetd: no such process name in /etc/inetd.conf=20
warning: <user>: hostname alias=20
warning: (official name: <domain name>)=20
client: hostname <host name>=20
client: address <ip>=20
server: process telnetd=20
matched: /etc/hosts.allow line <line number>=20
option: allow=20
access: granted=20
$=20
I alo noticed that I can't access via url: http://localhost:80 either -
I get the message: "The connection was refused when attempting to
contact localhost.".=20
So., what's the matter here? I'm happy to post more details if required
(as in firewall rules and such). Thanks to all those that might reply!=20
Stacey=20
- --=20
Stacey Roberts B.Sc. (HONS) Computer Science
Network Systems Engineer
-----BEGIN PGP SIGNATURE-----
Version: PGP 6.5.8
iQA/AwUBPPqbl/dn4A8qiCO5EQKiMwCdEOidhBEngiVNL0piltKikU4ngCQAnA68
sZ7cCSJwE4MbDflo0sfs7MQc
=VcTx
-----END PGP SIGNATURE-----
help
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1023056794.315.106.camel>
