open ports

Alexander Skwar listen at alexander.skwar.name
Sun Sep 3 12:58:15 UTC 2006


ยท dalila at despiertapr.com <dalila at despiertapr.com>:

> aside from ssh how did all these ports remain open on a desktop installation?  
> also how can i close them?

Ports are only open, if some application opens them. So, to close
them, shut down the appropriate application.

> PORT     STATE    SERVICE
> 13/tcp   filtered daytime
> 19/tcp   filtered chargen
> 22/tcp   open     ssh
> 111/tcp  filtered rpcbind
> 135/tcp  filtered msrpc
> 136/tcp  filtered profile
> 137/tcp  filtered netbios-ns
> 138/tcp  filtered netbios-dgm
> 139/tcp  filtered netbios-ssn
> 445/tcp  filtered microsoft-ds
> 512/tcp  filtered exec
> 513/tcp  filtered login
> 543/tcp  filtered klogin
> 544/tcp  filtered kshell
> 707/tcp  filtered unknown
> 1433/tcp filtered ms-sql-s
> 1720/tcp filtered H.323/Q.931

Hm - only ssh is for sure open.

To see which ports are open while on the system, run:

        sudo netstat -tulpen

Alexander Skwar
-- 
Children seldom misquote you.  In fact, they usually repeat word for
word what you shouldn't have said.






More information about the ubuntu-users mailing list