Unable to connect to 192.168.2.3 on port 631

Opher Shachar ophers at ladpc.co.il
Wed Dec 20 04:21:08 PST 2006


> > RĂ¼diger wrote:
> > > I have two SuSe 10.1 boxes, on one, there is a printer installed and configured with CUPS and it works. Now I want to attach that printer from the second SuSe10.1-System, I always get unable to connect to 192.168.2.3 on port 631; the 192.168.2.3 is the address of teh box on which the printer is installed. I amn able to reach that box from the remote box.
> > >
> > > Does have anyone an idea where my fault can be ?
> >
> > By default CUPS listens on and allows connections from the Loopback interface only (127.0.0.1). To allow remote connetions you may either use the Web admin page or hand edit /etc/cups/cupsd.conf.
> > To hand edit, change the following:
> >    1. Listen 127.0.0.1:631 ==>  Listen *:631
> >    2. Under <Location /> add
> >          Allow @LOCAL
> >
> > Regards,
> > Opher Shachar.
> >
> The Command Listen *:631 was already in cupsd.conf
>
> This is what under <Location> now is
> <Location />
> Encryption IfRequested
> Satisfy All
> Order deny,allow
> Deny From All
> Allow From 127.0.0.1
> Allow From 127.0.0.2
> Allow From @LOCAL
> Allow @LOCAL
> </Location>

Well actually (I've looked at the docs again) the syntax is indeed Allow From @LOCAL, so your configuration should have worked.
Sorry, I don't know what could be wrong ...

Regards,
Opher Shachar.




More information about the cups mailing list