- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: Unable to connect to port 12789
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
01-10-2002 08:47 PM
01-10-2002 08:47 PM
Unable to connect to port 12789
I am trying to run one engine on the port 12789 .but it says Unable to connect to the port 12789 ,port may be in use by another server.But when i see netstat -a and /etc/services this port is not listed anywhere.Any clues ??
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-10-2002 09:18 PM
01-10-2002 09:18 PM
Re: Unable to connect to port 12789
You may have to see the file /etc/rpc also as some of the ports are defined here.
You can even check the /etc/inetd.conf.
you can use the command #rpcinfo
-vijay
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-10-2002 10:38 PM
01-10-2002 10:38 PM
Re: Unable to connect to port 12789
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-11-2002 12:31 AM
01-11-2002 12:31 AM
Re: Unable to connect to port 12789
Are you running "netstat -an" rather than "netstat -a", otherwise the port may show up by its name if it's in /etc/services.
Also, you could run
lsof -i tcp:12789
or
lsof -i udp:12789
if you have this utility.
Rgds, Robin.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-11-2002 11:06 AM
01-11-2002 11:06 AM
Re: Unable to connect to port 12789
if the software is trying to setup its listen endpoint, it should not use the word "connect" in its error messages as that implies it is trying to call connect() rather than bind() which is what would appear to be the socket call it would be making. using tusc against the app while it is starting would help confirm what socket calls it is making.
the suggestions about remembering to use -n in netstat when checking the output for the port number is good.
if you do find that there is an old connection still there, in any state other than LISTEN, it indicates that the software you are trying to start is broken and is not setting SO_REUSEADDR via setsockopt() prior to calling bind().
if the endpoint is in the LISTEN state it means that you _have_ to kill the still running older instance of the application.
in 99 situations out of 10, it is _not_ apropriate to use ugly hacks to arbitrarily abort endpoints out from under the application...