- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Open 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
Forums
Discussions
Discussions
Discussions
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
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
11-09-2005 03:14 AM
11-09-2005 03:14 AM
How can I do this with ping. If I cant,
how do I do it with lsof.
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-09-2005 03:16 AM
11-09-2005 03:16 AM
Re: Open Port?
# telnet
DM.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-09-2005 03:24 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-09-2005 04:13 PM
11-09-2005 04:13 PM
Re: Open Port?
Ralph). Very simple to use and very effective
(see nmap.org).
One problem with "netstat -an" is, the port
will be marked as "listen" even if it is
blocked by a firewall at lower layer.
I use the attached simple script for
portscanning (this script should run from a
remote machine). Run without any argument to
see the usage info.
- Biswajit
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-09-2005 08:46 PM
11-09-2005 08:46 PM
Re: Open Port?
Download the lsof utility from http://hpux.cs.utah.edu/ , and check # lsof -i :
Also can be checked with # netstat -n | grep EST
hth,
Raj.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-09-2005 09:27 PM
11-09-2005 09:27 PM
Re: Open Port?
# netstat -na | grep
Another way is with telnet as,
# telnet
You have to get connected message then port is opened. Else it is not. To come back to shell then ctrl + ] will ask telnet>quit put there in that prompt.
Best utility to use is with lsof tool.
hth.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-09-2005 10:21 PM
11-09-2005 10:21 PM
Re: Open Port?
http://hpux.connect.org.uk/hppd/hpux/Sysadmin/lsof-4.76/
Man page is at,
http://hpux.connect.org.uk/hppd/hpux/Sysadmin/lsof-4.76/man.html
-Arun
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-10-2005 03:11 AM
11-10-2005 03:11 AM
Re: Open Port?
bear in mind this is a security tool, and it's considered... impolite... to run it against a server without the owners permission.