get number of a port

Hello every one.
I work in a LAN with many application server.
Each one use a different port.
What command permit to obtain the number of these port.

thanks

"netstat -an" will show you which ports are currently in use on your machine. Is this what you are asking?

also check the /etc/services file.