Operating System - HP-UX
1753905 Members
10337 Online
108810 Solutions
New Discussion юеВ

Services assigned to Applications, commands, etc, etc,,

 
SOLVED
Go to solution
Manuales
Super Advisor

Services assigned to Applications, commands, etc, etc,,

Hi, how can i know what service (port) is assigned to Applications, etc, etc ...

is it? ---> netstat -a ???
4 REPLIES 4
Steven Schweda
Honored Contributor
Solution

Re: Services assigned to Applications, commands, etc, etc,,

Are you looking for what's being used now, or
what's possible?

> is it? ---> netstat -a ???

That should show what's in use now.

"/etc/services" lists names for many popular
services (ports).
James R. Ferguson
Acclaimed Contributor

Re: Services assigned to Applications, commands, etc, etc,,

Hi Manuales:

By "assigned" perhaps you mean:

http://www.iana.org/assignments/port-numbers

Regards!

...JRF...
Steven E. Protter
Exalted Contributor

Re: Services assigned to Applications, commands, etc, etc,,

Shalom,

/etc/services is a reservation file that will give you an idea what most services you see listening with netstat -an will be configured to listen on.

Notable exception: Oracle, which does not put entries in /etc/services

SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
Kapil Jha
Honored Contributor

Re: Services assigned to Applications, commands, etc, etc,,

netstat would show what service is using what port at that moment.

/etc/services is the files to reserve the ports.

If some ports are hardcoded in application then they would use it and it may not be specify in services.

BR,
Kapil+
I am in this small bowl, I wane see the real world......