[NTLUG:Discuss] cups question
LoneStar
lonestar_92c at sbcglobal.net
Fri Jul 2 02:32:12 CDT 2004
m m wrote:
> I notice I can not connection by typing http://hostname:631/ipp by i
> can get in by http://localhost:631/ipp or http://127.0.0.1:631/ipp
This should only be http://localhost:631/
>
> per Greg:
>
> i have tried
>
> 127.0.0.1 localhost.localdomain localhost
> w.x.y.z hostname.mydomain.com hostname
>
> and
>
> 127.0.0.1 hostname.mydomain.com localhost.localdomain localhost
> w.x.y.z hostname.mydomain.com hostname
>
> no luck.
These are only examples put in the file to give you an idea of what you
can use.
If you use static IPs on your network, then you should have your
computer name and IP in the hosts file.
(Example) Lets use your IIIiiiIII as the host name of the computer that
your printer is connected to that has an IP of 192.168.1.1 and another
computer iiiIIIiii with an IP of 192.168.1.2 ...
The hosts file should read
127.0.0.1 localhost
192.168.1.1 IIIiiiIII
192.168.1.2 iiiIIIiii
If your network IPs are assigned by DNS, then this info will need to be
entered into the bind config file.
>
>> Your hosts file is declaring hosename.mydomain.com (typo ?) to be a
>> local which is not available >remotely. Cups attempts to use the
>> name the world knows your machine by. Set >hostname.mydomain.com to
>> the correct IP in /etc/hosts and restart cups.
>
The localhost is available locally and the iiiIIIiii and IIIiiiIII are
available remotely.
HTH
--
Johnny
Sistumz injunear
More information about the Discuss
mailing list