Skip site navigation (1)Skip section navigation (2)
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>

next in thread | raw e-mail | index | archive | help

--=-1fA3mGfoBpVI6Su/DyNd
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

--=-1fA3mGfoBpVI6Su/DyNd
Content-Type: application/pgp-signature; name=signature.asc
Content-Description: This is a digitally signed message part

-----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-----

--=-1fA3mGfoBpVI6Su/DyNd--


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




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