Ports on 9.04 Server

Florian Diesch diesch at spamfence.net
Mon Oct 12 17:00:03 UTC 2009


Ken Adams <adams.ken.j at googlemail.com> writes:

> I am slowly setting up a file/print server at home. I have just done a
> port scan and found a few ports open that I cannot identify.
>
> Is there an easy way, on the server or remotely, to identify what open
> ports are linked to. 

sudo fuser -v $PORTNUMBER/tcp
sudo fuser -v $PORTNUMBER/udp


> The /etc/services file does not show what the ports
> in question are for.

/etc/services just defines a kind of aliases for port numbers. It does
not necessary match the running services


   Florian
-- 
<http://www.florian-diesch.de/software/pdfrecycle/>




More information about the ubuntu-users mailing list