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

Re: Cannot connect to localhost:631



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 ...

AG


Reply to: