- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: How do I find out what app is using a port ..
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
Discussions
Discussions
Discussions
Forums
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
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
тАО10-24-2001 07:08 AM
тАО10-24-2001 07:08 AM
I have a situation where I have port 1526
now in /etc/services it tells me that it is
sql_turbo 1526/tcp # Informix
Now our devel team is playing and trying to config Informix. But when they try to bring it up they it says that port 1526 is taken. But they also say that another informix app is not running. So how can I find out what is hitting port 1526?
Richard
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-24-2001 07:12 AM
тАО10-24-2001 07:12 AM
SolutionHope this helps.
-Santosh
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-24-2001 07:12 AM
тАО10-24-2001 07:12 AM
Re: How do I find out what app is using a port ..
You can get it from any of the HPUX Software porting archives.
I generally use: http://hpux.cs.utah.edu
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-24-2001 07:13 AM
тАО10-24-2001 07:13 AM
Re: How do I find out what app is using a port ..
lsof is the best utility for this. You can get this from HP-UX porting Centre website http://hpux.cs.utah.edu/hppd/
GoodLuck
-USA..
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-24-2001 07:14 AM
тАО10-24-2001 07:14 AM
Re: How do I find out what app is using a port ..
# lsof -i
COMMAND PID USER FD TYPE DEVICE SIZE/OFF NODE NAME
syslogd 261 root 5u inet 0x10191e868 0t0 UDP *:syslog (Idle)
rpcbind 345 root 4u inet 72,0x73 0t0 UDP *:portmap (Idle)
rpcbind 345 root 6u inet 72,0x73 0t0 UDP *:49158 (Idle)
(taken from Building a Bastion Host).
Cheers,
James
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-24-2001 07:14 AM
тАО10-24-2001 07:14 AM
Re: How do I find out what app is using a port ..
The best tool for that is lsof. You can also do a netstat -a | grep 1526 but lsof will do much better.
Port numbers in the 1520's are very commonly used by Oracle listeners whether or not they are defined in /etc/services or the NIS services map.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-24-2001 07:21 AM
тАО10-24-2001 07:21 AM
Re: How do I find out what app is using a port ..
http://hpux.connect.org.uk/hppd/hpux/Sysadmin/lsof-4.55/
for 11i get it here:
http://www.wiretapped.net/security/host-security/lsof/binaries/hpux/B.11.11/
live free or die
harry
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-24-2001 07:22 AM
тАО10-24-2001 07:22 AM
Re: How do I find out what app is using a port ..
BTW, in case you didn't know, ports don't have to be declared in /etc/services to be used.
Regards!
...JRF...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-24-2001 07:28 AM
тАО10-24-2001 07:28 AM
Re: How do I find out what app is using a port ..
As others have mentioned, download lsof and install it. Its pretty useful and one of the MUST-HAVE tools.
If you want to download the binaries in swinstal format
http://hpux.ee.ualberta.ca/hppd/hpux/Sysadmin/lsof-4.55
or
http://hpux.cs.utah.edu/hppd/hpux/Sysadmin/lsof-4.55
If you want it in the source code, check out the page
http://freshmeat.net/projects/lsof/
I avoid Vic Bell's purdue site because it does a reverse-DNS and would prevent downloads if it fails.
In any case check out the FAQ
ftp://sunsite.ualberta.ca/pub/Mirror/lsof/FAQ
and you can download the latest version of lsof (4.59)
ftp://sunsite.ualberta.ca/pub/Mirror/lsof/
-Regards
Ramesh
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-24-2001 07:38 AM
тАО10-24-2001 07:38 AM
Re: How do I find out what app is using a port ..
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-24-2001 08:36 AM
тАО10-24-2001 08:36 AM
Re: How do I find out what app is using a port ..
http://www.wiretapped.net/security/host-security/lsof/binaries/hpux/B.11.11/
for 11.00 64 bit :
http://www.wiretapped.net/security/host-security/lsof/binaries/hpux/B.11.00/README
then goup a dir and download.
live free or die
harry