Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 22 Oct 2001 03:00:01 -0400 (EDT)
From:      Joe Clarke <marcus@marcuscom.com>
To:        lahaye@users.sourceforge.net
Cc:        freebsd-questions@FreeBSD.ORG
Subject:   Re: Q: CUPS and http://localhost:631/admin ?
Message-ID:  <20011022025641.D11121-100000@shumai.marcuscom.com>
In-Reply-To: <20011022.AAA1003732336@postech.ac.kr>

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


On Mon, 22 Oct 2001, Rob Lahaye wrote:

>
> Hi,
>
> I'm running FreeBSD 4.4 with cups-1.1.10.1.
>
> All info on the cups http-administration is to type
> in netscape:
>
>      http://localhost:631/admin
>
> but then I get an error message that says:
>
> "Netscape is unable to locate the server localhost:631
>  Please check the server name and try again"

Have you checked hostname resolution?  Does:

http://127.0.0.1:631/admin

work?  Check /etc/hosts, /etc/host.conf, and /etc/resolv.conf.  If your
/etc/host.conf has the default resolve order, the system will look in
/etc/hosts to resolve "localhost" first.  You might want an entry like:

127.0.0.1       localhost.mydomain.com localhost

CUPS also has a security mechanism setup for who can access the server.
localhost (or 127.0.0.1) is allowed by default, so I don't think that is
biting you.  You may want to check /usr/local/etc/cups/cupsd.conf to be
sure.

Joe

>
> What else do I need to configure to set this up properly?
>
> Thanks for help.
>
> Rob.
> [ please cc your reply also to my personal email address- thanks ]
>
>
>
>
>


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?20011022025641.D11121-100000>