1829863 Members
2278 Online
109993 Solutions
New Discussion

Re: server port number

 
Anjaneyulu
Frequent Advisor

server port number

How can we find out the port number of the HP sever
8 REPLIES 8
Johnson Punniyalingam
Honored Contributor

Re: server port number

Hi ,

what part number of the HP Server.?

or

what port number of the HP Server..?

which port.? there are several ports running in HPU Servers..?

netstat -a --> show all the port running in the server,


$ netstat -a |more
Active Internet connections (including servers)
Proto Recv-Q Send-Q Local Address Foreign Address (state)
tcp 0 0 *.55282 *.* LISTEN
tcp 0 0 *.55281 *.* LISTEN
tcp 0 0 *.55280 *.* LISTEN
tcp 0 0 *.55279 *.* LISTEN
tcp 0 0 *.55278 *.* LISTEN
tcp 0 0 *.55277 *.* LISTEN
tcp 0 0 *.55276 *.* LISTEN
tcp 0 0 *.55275 *.* LISTEN
tcp 0 0 *.55274 *.* LISTEN
tcp 0 0 *.55273 *.* LISTEN

Problems are common to all, but attitude makes the difference
Robert-Jan Goossens_1
Honored Contributor

Re: server port number

Hi,

Yould can use the netstat command to display the current active port numbers on your system.

# netstat -an

An other option is to download and install the lsof tool.

http://hpux.connect.org.uk/hppd/hpux/Sysadmin/lsof-4.80/

Regards,
Robert-Jan
Anjaneyulu
Frequent Advisor

Re: server port number

I am using sybase. It shows several port numbers how can i decide which port number I can used fot that tool
Asif Sharif
Honored Contributor

Re: server port number

Hi,

I am not sure but i have read some where that sybase uses 5000/5001 port number.


Regards,
Asif Sharif
Regards,
Asif Sharif
Anjaneyulu
Frequent Advisor

Re: server port number

how i get the port number of my server i give netstat -a. I got so many portnumbers


Proto Recv-Q Send-Q Local Address Foreign Address (state)
tcp 0 0 server.55797 server.registrar TIME_WAIT
tcp 0 0 server.4094 *.* LISTEN
tcp 0 0 server.4094 server.55796 ESTABLISHED

what is the port number please help me? How can i recognise?
AL_3001
Regular Advisor

Re: server port number

Hello,

Check /etc/services file to get list of port number on HP-UX.

Regards,
Ashish
Steven Schweda
Honored Contributor

Re: server port number

> Check /etc/services file [...]

For a more (too?) complete list:

http://www.iana.org/assignments/port-numbers
Anjaneyulu
Frequent Advisor

Re: server port number

Thanks to all