- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: Which process is bound to tcp socket
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-14-2005 01:54 AM
11-14-2005 01:54 AM
netstat can see something listening on 992, telnet confirms it, but 'lsof -i :992' returns nothing. I've tried multiple versions of lsof, tried using it without any arguments and piping through grep, nothing is returned. Any suggestions for tracking this one down? Thanks.
# netstat -an | grep LISTEN | grep 992
tcp 0 0 *.992 *.*
LISTEN
# telnet localhost 992
Trying...
Connected to localhost.
Escape character is '^]'.
help
Connection closed by foreign host.
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-14-2005 01:57 AM
11-14-2005 01:57 AM
Re: Which process is bound to tcp socket
A utility called lsof might help.
http://hpux.connect.org.uk/hppd/hpux/Sysadmin/lsof-4.75/
SEP
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-14-2005 02:01 AM
11-14-2005 02:01 AM
SolutionIt sounds like the inetd daemon is listening on that port. Try telnetting to the port and leave the connection open, then use the "lsof -i :992"
HTH;
Doug
------
Senior UNIX Admin
O'Leary Computers Inc
linkedin: http://www.linkedin.com/dkoleary
Resume: http://www.olearycomputers.com/resume.html
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-14-2005 02:04 AM
11-14-2005 02:04 AM
Re: Which process is bound to tcp socket
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-14-2005 02:16 AM
11-14-2005 02:16 AM
Re: Which process is bound to tcp socket
# netstat -an | grep 992
tcp 0 0 192.168.0.20.992 192.168.0.21.2337 ESTABLISHED
tcp 0 0 *.992 *.* LISTEN
# lsof -P | grep :992 | wc -l
0
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-14-2005 02:32 AM
11-14-2005 02:32 AM
Re: Which process is bound to tcp socket
http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=945634
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-14-2005 02:48 AM
11-14-2005 02:48 AM
Re: Which process is bound to tcp socket
According to IANA.org port 992 tcp/udp is as follows:
telnets 992/tcp telnet protocol over TLS/SSL
telnets 992/udp telnet protocol over TLS/SSL
Generally you don't want to use *any* port < 1024 because they all pre-assigned.
Here's where you can view them:
http://www.iana.org/assignments/port-numbers
HTH,
Jeff
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-14-2005 03:03 AM
11-14-2005 03:03 AM
Re: Which process is bound to tcp socket
Nov 12 20:51:45 prod3 inetd[1779]: Reading configuration
...
Nov 12 20:51:45 prod3 inetd[1779]: telnets/tcp: bind: Address already in use
Nov 12 20:51:45 prod3 inetd[1779]: telnets/tcp: Added service, server /usr/ud61/
bin/udtelnetd
Nov 12 21:01:47 prod3 inetd[1779]: telnets/tcp: bind: Address already in use
Nov 12 21:01:47 prod3 inetd[1779]: telnets/tcp: Service enabled
Nov 12 21:11:47 prod3 inetd[1779]: telnets/tcp: bind: Address already in use
Nov 12 21:11:47 prod3 inetd[1779]: telnets/tcp: Service enabled
...
Nov 14 08:00:16 prod3 inetd[1779]: Rereading configuration
Nov 14 08:00:16 prod3 inetd[1779]: telnets/tcp: Deleted service
Nov 14 08:00:16 prod3 inetd[1779]: Thru with configuration
Nov 14 08:00:16 prod3 inetd[1779]: Configuration complete
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-14-2005 06:19 AM
11-14-2005 06:19 AM