Generally speaking, to close a port, you shut down whatever deamon is
listening on it. For example, if you had port 80 open, and want to
close it, shut down your web server (apache or whatever else).

Same with ssh - to close that port, shut down sshd.

On Fri, 13 Aug 2004 21:56:17 -0400, Tong <[EMAIL PROTECTED]> wrote:
> Hi,
> 
> I've just noticed that my debian testing open many ports by default:
> 
> tcp        0      0 *:dict                  *:*                     LISTEN
> tcp        0      0 *:time                  *:*                     LISTEN
> tcp        0      0 *:discard               *:*                     LISTEN
> tcp        0      0 *:682                   *:*                     LISTEN
> tcp        0      0 *:daytime               *:*                     LISTEN
> tcp        0      0 *:sunrpc                *:*                     LISTEN
> tcp        0      0 *:www                   *:*                     LISTEN
> tcp        0      0 *:x11-1                 *:*                     LISTEN
> tcp        0      0 *:auth                  *:*                     LISTEN
> tcp        0      0 *:ssh                   *:*                     LISTEN
> tcp        0      0 cxmr.dyndns.org:8118    *:*                     LISTEN
> tcp        0      0 cxmr.dyndns.org:822     *:*                     LISTEN
> tcp        0      0 *:ipp                   *:*                     LISTEN
> tcp        0      0 *:3128                  *:*                     LISTEN
> 
> udp        0      0 *:discard               *:*
> udp        0      0 *:676                   *:*
> udp        0      0 *:679                   *:*
> udp        0      0 *:icpv2                 *:*
> udp        0      0 *:bootpc                *:*
> udp        0      0 *:sunrpc                *:*
> udp        0      0 *:ipp                   *:*
> 
> How can I close them?
> 
> Thanks
> 
> --
> To UNSUBSCRIBE, email to [EMAIL PROTECTED]
> with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
> 
>


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to