On 2023-05-11 18:24:39 -0400, Greg Wooledge wrote:
> On Thu, May 11, 2023 at 11:58:56PM +0200, Vincent Lefevre wrote:
> > On 2023-05-11 12:08:01 -0400, gene heskett wrote:
> > > Aha!!!! Got it, geany evince okular etc can now print from bpi54! Removing
> > > the Listen localhost:631 directive from /etc/cups/cupsd.conf and 
> > > inserting a
> > > 
> > > Listen 192.168.xx.yy:631
> > > 
> > > made the localhost:631/printers on this machine show up in FF on bpi54, 
> > > all
> > > 5 choices from this machine.
> > 
> > Any explanation?
> 
> Seems obvious enough to me.  CUPS on bpi54 was only listening to
> loopback (localhost), but Gene wanted to print through it remotely.
> So he had to make it listen to the network instead.

My question was more on why does this affect localhost:631/printers?

> My questions would be:
> 
> 1) Can you put *both* Listen lines in, to keep loopback working?

The cupsd.conf(5) man page says: "Multiple Listen directives can be
provided to listen on multiple addresses."

> 2) Failing that, can you use 0.0.0.0 as the Listen address, to listen on
>    all interfaces?  That's the normal convention.

According to the cupsd.conf(5) man page, you can use "Listen *:631".

-- 
Vincent Lefèvre <vinc...@vinc17.net> - Web: <https://www.vinc17.net/>
100% accessible validated (X)HTML - Blog: <https://www.vinc17.net/blog/>
Work: CR INRIA - computer arithmetic / AriC project (LIP, ENS-Lyon)

Reply via email to