cgi-bin: localhost
somogyi at de.ibm.com
somogyi at de.ibm.com
Mon Aug 9 08:37:30 PDT 2004
Hello,
We have the following problem:
When CUPS is configured to listen only on a fixed address (with the "Listen x.x.x.x:631" parameter), then the CUPS web interface doesn't work.
This occours because the CUPS web interface connects to ipp://localhost, but the CUPS service listens on x.x.x.x:631 (not localhost).
Example code part of CUPS ("cgi-bin/printers.c"):
http = httpConnectEncrypt("localhost", ippPort(), cupsEncryption());
(almost localhost everywhere in the cgi-bin source)
Is it a bug, or a feature?
More information about the cups-devel
mailing list