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

Re: Cannot connect to localhost:631



On 16/06/11 19:51, Camaleón wrote:
On Thu, 16 Jun 2011 19:27:03 +0100, AG wrote:

On 16/06/11 18:30, Camaleón wrote:
On Thu, 16 Jun 2011 17:37:58 +0100, Brian wrote:

On Thu 16 Jun 2011 at 17:08:04 +0100, AG wrote:

As requested after restarting /etc/init.d/cups :

$ sudo netstat -ant | grep LISTEN
tcp        0      0 127.0.0.1:8118          0.0.0.0:*   LISTEN tcp
     0      0 127.0.0.1:25            0.0.0.0:*   LISTEN tcp        0
     0 127.0.0.1:9050          0.0.0.0:*   LISTEN tcp        0      0
0.0.0.0:111             0.0.0.0:*   LISTEN tcp6       0      0 ::1:25
                  :::*        LISTEN

Apparently, it *isn't* listening, and yet still printing ... ?
I wonder what's on ports 8118 and 9050? netstat -tulpan would say.
(...)

As root, running "lsof -i :8118 -i :9050" will also tell.

Greetings,


Output of $ sudo lsof -i :8118 -i :9050

COMMAND  PID       USER   FD   TYPE DEVICE SIZE/OFF NODE NAME polipo
2061      proxy    0u  IPv4   6654      0t0  TCP localhost:8118 (LISTEN)
tor     2674 debian-tor    7u  IPv4   7055      0t0  TCP localhost:9050
(LISTEN)

But no cups ...
Ah, polipo and tor. Nice, but this was just out of curiosity.

You already should have solved this! The anwswer is out there (I'm sure
I've read it some threads at the bottom) ;-)

Greetings,


'Tis true ... and the line has been added, cups server restarted and viola!

Don't know why this wasn't done automagically, but there's more that I don't know than that which I do ... so this adds to the list.

Thanks for your help.

AG


Reply to: