CUPS doesn't work if Listen set #658

Closed
michaelrsweet opened this Issue Mar 25, 2004 · 1 comment

Comments

Projects
None yet
1 participant
Collaborator

michaelrsweet commented Mar 25, 2004

Version: 1.1.20
CUPS.org User: michael.araneidae.co

While setting up a FreeBSD jail I decided to ask CUPS to be kind enough to listen on just the specified address:
cupsd.conf:
Listen 192.168.123.2:631

Unfortunately, this seems to break the insides of CUPS.

I [25/Mar/2004:22:50:58 +0000] Sending browsing info to c0a87bff:631
I [25/Mar/2004:22:50:58 +0000] Loaded configuration file "/usr/local/etc/cups/cupsd.conf"
I [25/Mar/2004:22:50:58 +0000] Configured for up to 100 clients.
I [25/Mar/2004:22:50:58 +0000] Allowing up to 100 client connections per host.
I [25/Mar/2004:22:50:58 +0000] Full reload is required.
I [25/Mar/2004:22:51:02 +0000] LoadPPDs: Read "/usr/local/etc/cups/ppds.dat", 13 PPDs...
I [25/Mar/2004:22:51:02 +0000] LoadPPDs: No new or changed PPDs...
I [25/Mar/2004:22:51:03 +0000] Full reload complete.
I [25/Mar/2004:22:52:08 +0000] Started "/usr/local/libexec/cups/cgi-bin/printers.cgi" (pid=17608)
E [25/Mar/2004:22:52:08 +0000] [CGI] CUPS-Get-Printers request failed - server-error-internal-error (500)

If I replace the Listen line with a
Port 631
line then everything works sweetly again.

Collaborator

michaelrsweet commented Mar 26, 2004

CUPS.org User: mike

You must listen for connections on the local loopback interface. You can use two listen lines:

Listen 127.0.0.1:631
Listen ipaddress:631

michaelrsweet added this to the Stable milestone Mar 17, 2016

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment