Take a look in /etc/services (providing you have kept it upto date)

or

Code:
netstat -a
will give you the information on sockets in use.

Regards