- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: Application fails to bind to a 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
12-26-2004 11:16 PM
12-26-2004 11:16 PM
Application fails to bind to a socket
The program when executed throws a bind error.
I tried the command netstat on that particular port number but didnt throw any output. It ddidnt say whether it is in LISTEN, ESTABLISHED or FIN_WAIT mode.
The port number which i am trying to bind is 9205. I will attach the output of the netstat command.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-27-2004 03:38 AM
12-27-2004 03:38 AM
Re: Application fails to bind to a socket
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-27-2004 02:54 PM
12-27-2004 02:54 PM
Re: Application fails to bind to a socket
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-28-2004 05:44 AM
12-28-2004 05:44 AM
Re: Application fails to bind to a socket
The file /etc/services is simply a set of mappings from port numbers to more human-friendly service names. It neither enables or disables the use of a given port number. Some applications may be not terribly robustly written and expect to find their service name in the /etc/services file (modulo other name lookups mechanisms being configured) and not have a fall-back.
Presumeably, the code throwing the bind error should be written to provide the reason _why_ - however, in the absense of such proper coding you can try to use the tusc utility to trace the bind() calls and see what actual errno is being set, which will then help trace the reason.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-28-2004 02:32 PM
12-28-2004 02:32 PM
Re: Application fails to bind to a socket
you might want to run the application as root to see if its not a priviledge issue.