1833730 Members
2208 Online
110063 Solutions
New Discussion

Re: port 9776

 
SOLVED
Go to solution
gigiz
Valued Contributor

port 9776

Hi guys,
i need to know if hpux or the inside product
use this port.
Or if exist a product that use port 9776.
many point at all
9 REPLIES 9
Patrick Wallek
Honored Contributor
Solution

Re: port 9776

If you have lsof installed, you can use it to see what, if anything, is listening on a port.

# lsof -i tcp:9776
will show what processes are using or listening on that TCP port.

# lsof -i udp:9776
will do the same, except for UDP.

According to the IANA registered port list here:
http://www.iana.org/assignments/port-numbers

No one has officially registered the use of port 9776, TCP or UDP.
James R. Ferguson
Acclaimed Contributor

Re: port 9776

Hi:

You could examine '/etc/services' to see if there is any *intention* to use this port for a particular use.

You could interrogate your server with 'netstat' or 'lsof' to see if anything is using this port.

Regards!

...JRF...
gigiz
Valued Contributor

Re: port 9776

How can RESERVE this port for my application ?
many point at all
James R. Ferguson
Acclaimed Contributor

Re: port 9776

Hi:

> How can RESERVE this port for my application ?

You can't other than by using it.

Regards!

...JRF...
Kenan Erdey
Honored Contributor

Re: port 9776

Hi,

check the port here :

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

so to reserve it you should appy IANA perhaps :)

Kenan.
Computers have lots of memory but no imagination
Steven Schweda
Honored Contributor

Re: port 9776

> You could examine '/etc/services' to see if
> there is any *intention* to use this port
> for a particular use.

Except that any program can use a port which
is not listed there, and a port can be listed
there and not used by anyone. So why bother
looking there? I suppose that you could get
lucky and find a suggestive service name, but
it sounds to me like a pretty long shot.
Tim Nelson
Honored Contributor

Re: port 9776

No real hard way to reserve it other than starting up the application, having it bind to that port. Any other process that tries to bind to the port will fail because it is on use. ( creative programming aside).

Yes you can add an entry to /etc/services, this will serve as a record of what intends to use what port but it will NOT stop other program from using that port if it is available. (/etc/services is only a # to name lookup table )

As mentioned lsof is the best to see if a port is unused. netstat -an|grep 9776 can help as well.

If you start your application and it fails with a bind error on port 9776, that would be another indicator that the port is already used by something.


Sandeep_Chaudhary
Trusted Contributor

Re: port 9776

to know wether this port is used

netstat -an|grep 9776

If LISTEN is mentioned it is in use.

and
# lsof -i tcp:9776

# lsof -i udp:9776

this will show which product use this port
gigiz
Valued Contributor

Re: port 9776

How can i extract from perfview date, a port 9776 connection in a time