CUPS 192.168.0.5:631

Dave S ubuntu at pusspaws.net
Fri Nov 4 22:13:04 UTC 2005


Hi all,

Ubuntu is on my main system connected to an epson printer, I have 
configured CUPS and it works great. But I want to enable CUPS for LAN 
printing.

I vi'd /etc/cups/cupsd.conf ...
If I have the following CUPS LAN printing works great ...

#Port 80
#Port 443
Port 631
#
#Listen 127.0.0.1:631
#Listen 192.168.0.5:631

However I realy would like to restrict access to localhost and 
192.168.0.5, which should be possible with ...

#Port 80
#Port 443
#Port 631
#
Listen 127.0.0.1:631
Listen 192.168.0.5:631

But every time I try I get the following in the cups logs & I can not print.


I [04/Nov/2005:21:26:36 +0000] Allowing up to 100 client connections per 
host.
I [04/Nov/2005:21:26:36 +0000] Full reload is required.
E [04/Nov/2005:21:26:36 +0000] LoadAllClasses: Unable to open 
/etc/cups/classes.conf - No such file or directory
I [04/Nov/2005:21:26:36 +0000] LoadPPDs: Read "/etc/cups/ppds.dat", 4104 
PPDs...
I [04/Nov/2005:21:26:36 +0000] LoadPPDs: No new or changed PPDs...
I [04/Nov/2005:21:26:36 +0000] Full reload complete.
E [04/Nov/2005:21:26:36 +0000] StartListening: Unable to bind socket for 
address c0a80005:631 - Cannot assign requested address.

Can anyone shed any light on this, the cupsd.config file notes reacon it 
should work :)

Dave





More information about the ubuntu-users mailing list