[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Unable to connect to CUPS server after upgrading to Squeeze



On Fri, Mar 04, 2011 at 07:25:22AM -0300, Daniel Bareiro wrote:
> After upgrading to Squeeze, I tried to do a test print from a client
> with Lenny and I could not connect to server. From what I see, the
> server is up:
> 
> sirius:~# netstat -puta
> Active Internet connections (servers and established)
> Proto Recv-Q Send-Q Local Address           Foreign Address         State       PID/Program name
> tcp6       0      0 ip6-localhost:ipp       [::]:*                  LISTEN      21266/cupsd
> udp        0      0 *:ipp                   *:*                                 21266/cupsd

There's no TCP socket open listening for connections over the network
(only on localhost).  The UDP socket is for broadcasts AFAIK, not
actual printing.

You need to configure the server to accept connections from others.
At http://localhost:631/admin, tick the box for "Share printers
connected to this system" and it will enable it:

% netstat --udp --tcp -l | grep ipp
tcp        0      0 *:ipp                   *:*                     LISTEN     
tcp6       0      0 [::]:ipp                [::]:*                  LISTEN     
udp        0      0 *:ipp                   *:*

Notice how the localhost has been dropped, and replaced with '*' or
[::].


Regards,
Roger

-- 
  .''`.  Roger Leigh
 : :' :  Debian GNU/Linux             http://people.debian.org/~rleigh/
 `. `'   Printing on GNU/Linux?       http://gutenprint.sourceforge.net/
   `-    GPG Public Key: 0x25BFB848   Please GPG sign your mail.

Attachment: signature.asc
Description: Digital signature


Reply to: