[NTLUG:Discuss] cups question

Greg Edwards greg at nas-inet.com
Fri Jul 2 00:06:15 CDT 2004


m m wrote:
> Hi All:
> 
> I tried to share a print for many computers. I tried to configure the 
> cups that comes with RH 9.0 installation. I use web interface to set it 
> up it as:
> 
> epson stylus c80
> use ipp://hostname/ipp/
> cups epson stylus color drive 1.1
> 
> when i tried to test it, i got "the connection was refused when 
> attempting to contact hostname:631"
> 
> I then change connection device as parallel port, http.... connection 
> method.
> all get the same problem.
> 
> it all happened on same box. (remote box, of course, never see the 
> printer so far)
> 
> I have /ect/hosts have the first lin like:
> 127.0.0.1 hosename.mydomain.com localhost.localdomain localhost
> 
> any ideas?
> 
> thanks in advance.
> 

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.

127.0.0.1 localhost.localdomain localhost
w.x.y.z hostname.mydomain.com hostname

-- 
Greg Edwards

Software Engineering Services - http://consult.nas-inet.com
Custom Hosted Websites        - http://www.nas-inet.com




More information about the Discuss mailing list