- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: Port Openend in hp-Ux
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
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-06-2005 02:57 AM
тАО10-06-2005 02:57 AM
i just want to check the status of one port.
when iam giving
# netstat -an |grep 4100
tcp 0 0 172.21.0.160.2507 172.21.0.154.4100 ESTABLISHED
tcp 0 0 172.21.0.160.2658 172.21.0.154.4100 ESTABLISHED
it is giving the port 4100 is opened and accepting the connection. but iam unable to find the specific entry in /etc/inetd.conf and in /etc/services.
and i want to check the status of port 1031 is opened or not..( all these port is using one application)
pls help me..
Thanks in advance
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-06-2005 03:00 AM
тАО10-06-2005 03:00 AM
Re: Port Openend in hp-Ux
The inetd.conf file only applies to ports/services that inetd opens.
A better tool to use for ports is lsof.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-06-2005 03:02 AM
тАО10-06-2005 03:02 AM
Re: Port Openend in hp-Ux
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-06-2005 05:10 AM
тАО10-06-2005 05:10 AM
Re: Port Openend in hp-Ux
lsof -i TCP:4100
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-06-2005 05:18 AM
тАО10-06-2005 05:18 AM
Re: Port Openend in hp-Ux
http://hpux.cs.utah.edu/hppd/hpux/Sysadmin/lsof-4.76/
UNIX because I majored in cryptology...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-06-2005 05:23 AM
тАО10-06-2005 05:23 AM
Solution# lsof -i:4100
As for port 1031 opened or not? It doesn't matter which machine you're on; lsof will give you the info., i.e.
# lsof -i:1031