Unable to connect to 192.168.2.3 on port 631

Rüdiger Eisele eisele at softeiscons.de
Wed Dec 20 04:18:29 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>
>
> Rüdiger
>


Additional:

Obviously, CUPS is able to read the configuration from the Server; here is an excerpt from error_log

[20/Dec/2006:13:15:30 +0100] LoadDevices: Added device "socket"...
I [20/Dec/2006:13:15:30 +0100] LoadPPDs: Read "/etc/cups/ppds.dat", 4274 PPDs...
I [20/Dec/2006:13:15:30 +0100] LoadPPDs: No new or changed PPDs...
D [20/Dec/2006:13:15:30 +0100] LoadAllJobs: Scanning /var/spool/cups...
I [20/Dec/2006:13:15:30 +0100] Full reload complete.
D [20/Dec/2006:13:15:30 +0100] StartListening: NumListeners=1
D [20/Dec/2006:13:15:30 +0100] StartListening: address=00000000 port=631
D [20/Dec/2006:13:15:30 +0100] ResumeListening: setting input bits...
D [20/Dec/2006:13:15:30 +0100] StartPolling: Started polling daemon for 192.168.2.3:631, pid = 7550
I [20/Dec/2006:13:15:49 +0100] Added remote printer "Brezn_Drucker"...
I [20/Dec/2006:13:15:50 +0100] Added remote class "Softeis"...
E [20/Dec/2006:13:18:39 +0100] [cups-polld 192.168.2.3:631] Unable to connect to 192.168.2.3 on port 631: Connection timed out

Regards,

Rüdiger




More information about the cups mailing list