- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: Identifying Port Usage
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-24-2006 07:37 AM
07-24-2006 07:37 AM
Thanks in advance,
Chuck
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-24-2006 07:38 AM
07-24-2006 07:38 AM
SolutionI've always found lsof to be the best way to map applications to port numbers.
Regards,
Dave
I work at HPE
HPE Support Center offers support for your HPE services and products when and how you need it. Get started with HPE Support Center today.
[Any personal opinions expressed are mine, and not official statements on behalf of Hewlett Packard Enterprise]
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-24-2006 07:42 AM
07-24-2006 07:42 AM
Re: Identifying Port Usage
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-24-2006 07:58 AM
07-24-2006 07:58 AM
Re: Identifying Port Usage
You can also go to iana.org to see what ports software *should* be using. It's no guarantee but it can get you started - here:
http://www.iana.org/assignments/port-numbers
HTH,
Jeff
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-24-2006 06:01 PM
07-24-2006 06:01 PM
Re: Identifying Port Usage
but I felt inclined to add that I didn't find the prebuilt binaries of lsof from the porting centre of much use since they used to be 32bit builds which crashed while executing them on our 64bit OSes.
I had to compile a 64bit binary myself from the sources that could be used on our 11.11 v1 boxes.
But compilation was straight-froward.
lsof is defenitely the best tool for questions like yours.
As an aside I would like to mention that the GNU netstat command as can be found on all Linux distros has many more features than the vanilla netstat of the venerable Unices.
One such feature is the -p switch to also identify the processes that use the sockets.
You could for instance issue
netstat -tnp
Maybe you could try to compile GNU netstat for HP-UX as well?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-24-2006 06:03 PM
07-24-2006 06:03 PM
Re: Identifying Port Usage
Run
#> lsof +M |grep -e 8080 -e 2026
and you will see the process which running on the portd
HTH
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-24-2006 06:35 PM
07-24-2006 06:35 PM
Re: Identifying Port Usage
if you don't specify the hostname it will show all hosts, remote and local, that are running apps on the supplied ports (8080 or 2026).