- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: How to find the port number of a server applic...
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
тАО08-07-2003 11:30 PM
тАО08-07-2003 11:30 PM
How to find the port number of a server application
I have a IDS(Intruder detection system) server process running on a Unix server.
The IDS system is not functioning now , I doubt some problem in the server process.
As per IDS documentation it says process runs on port number 45000.
Now for testing I did a "telnet ipaddress 45000" from a PC on the same network.It says connection refused.
Now my query is how to find out the port number of the server process running on the server.Is there is any command to find out.
Netstat -a only says information about established connections.
Pls help me.
Regds,
baiju
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-07-2003 11:40 PM
тАО08-07-2003 11:40 PM
Re: How to find the port number of a server application
if you know the process name, the better way is using lsof to see what port it holds:
http://hpux.connect.org.uk/hppd/hpux/Sysadmin/lsof-4.67/
or run a port mapper againt the server:
http://hpux.connect.org.uk/hppd/hpux/Networking/Admin/nmap-2.53/
Massimo
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-07-2003 11:44 PM
тАО08-07-2003 11:44 PM
Re: How to find the port number of a server application
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-08-2003 12:01 AM
тАО08-08-2003 12:01 AM
Re: How to find the port number of a server application
Sorry,
This IDS is on sun server, and client from which i am running is hp L class.
Is there any thing like lsof in Solaris.
Thank you,
Baiju.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-08-2003 12:14 AM
тАО08-08-2003 12:14 AM
Re: How to find the port number of a server application
Yes there is,
http://www.sunfreeware.com/
Click on your OS version and search for lsof.
Hope it helps,
Robert-Jan.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-08-2003 12:16 AM
тАО08-08-2003 12:16 AM
Re: How to find the port number of a server application
try to download the source and compile the source on the Solaris server.
http://hpux.connect.org.uk/ftp/hpux/Sysadmin/lsof-4.67/lsof-4.67-ss-11.00.tar.gz
regards
Yogeeraj
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-08-2003 12:28 AM
тАО08-08-2003 12:28 AM
Re: How to find the port number of a server application
Massimo
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-08-2003 12:28 AM
тАО08-08-2003 12:28 AM
Re: How to find the port number of a server application
see also:
ftp://vic.cc.purdue.edu/pub/tools/unix/lsof/README/
and
ftp://vic.cc.purdue.edu/pub/tools/unix/lsof/
regards
Yogeeraj
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-08-2003 02:51 AM
тАО08-08-2003 02:51 AM
Re: How to find the port number of a server application
You can use a utility called multiscan. You download this in your HP machine and from HP machine you can scan any system for the opened ports.
-RG
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-08-2003 07:51 AM
тАО08-08-2003 07:51 AM
Re: How to find the port number of a server application
netstat -a will give you a list of all open tcp ports. Some unix implementations have an option, -p, which will map the tcp port to a PID in the ps listing.
mark