- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- connection refused while binding to a 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
03-25-2002 04:58 AM
03-25-2002 04:58 AM
connection refused while binding to a port
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-25-2002 05:19 AM
03-25-2002 05:19 AM
Re: connection refused while binding to a port
is this a server program that rubns a specific listening socket with the nr you described or is this a spawned of socket session
netstat -an show the state of the socket , what is it in in listening , time-wait , etc...
you 'connect the cleint' what does this mean , is it a program that does a connect call ?? or do you activate the client and have its cleitn software try and contact the server software
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-25-2002 05:31 AM
03-25-2002 05:31 AM
Re: connection refused while binding to a port
tcp 0 0 10.152.5.28.49364 10.152.5.28.27001 ESTABLISHED
tcp 0 0 10.152.5.28.49360 10.152.5.28.27551 ESTABLISHED
tcp 0 0 10.152.5.28.49359 10.152.5.28.27661 ESTABLISHED
tcp 0 0 10.152.5.28.49353 10.152.5.28.27991 ESTABLISHED
tcp 0 0 10.152.5.28.49342 10.152.5.28.27991 ESTABLISHED
tcp 0 0 10.152.5.28.49333 10.152.5.28.27991 ESTABLISHED
Now when i am trying to connect to port no 27991 on server....whose o/p is pasted above from my NT client which is client version ofg the same software whose server version is runing on the HP server and suppose to listen at port 27991.The client throws a error..connection refused.
thnks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-25-2002 06:01 AM
03-25-2002 06:01 AM
Re: connection refused while binding to a port
tcp 0 0 10.152.5.28.49364 10.152.5.28.27001 ESTABLISHED
what this tells us is that socket 49364 is in use between 10.152.28 and the socket 27001 on 10.152.5.28 , both are the same machines
so we already have had a connect , the same is also seen for the socket you are talking about
what you would expect to see would be something like
tcp 0 0 *.(socket address) *.* LISTEN
It could be we get connection refused because the socket is already opened and is no longer listening, that would be easy to check by doing a netstat -an before launching the client application trying to connect , if however we do listen on the specified socket before connecting it could be a connect happens but the cleint is refused due to some security rules , errors in the communication etc...
does any of this data aply to your situation or did I misinterprete the data you provided or the exact problem ?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-25-2002 06:09 AM
03-25-2002 06:09 AM
Re: connection refused while binding to a port
So what u essentially means to say is
i shud see the below line in my o/p on netstat -an.
tcp 0 0 10.152.5.28.27991 *.* LISTEN .
before launching the client from my NT workstation, only then my client will be able to bind to port 27991.But suppose in case...the server is of the kind inetd.which opens on the port whenver the request comes, then it wil no show as listen all the time .so in that case it will open the port the moment the request from client runnning on the NT workstation comes.So what will be case in that scenerio.
thnks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-25-2002 06:31 AM
03-25-2002 06:31 AM
Re: connection refused while binding to a port
tcp 0 0 *.(socket address) *.* LISTEN
when doing a netstat -na. Since this is not there, this is a good indication that inetd.conf is misconfigured or that it has some problem starting up the server. Check /var/adm/syslog/syslog.log for any errors. Also, after making changes to inetd.conf, did you tell inetd to re-read the configuration file by doing a inetd -c?
-Santosh
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-25-2002 06:42 AM
03-25-2002 06:42 AM
Re: connection refused while binding to a port
thnks for your suggestions , i will work on that.
thnks