Domino Error – Unable to Bind port…..

Most Domino Admins will have seen this in a console from time to time.  It happens when a local OS application is using a port Domino wants to use.  So far, so simple.  But what’s the quickest way of finding out which application/service is using the port you want?  In windows it really is quite easy…

Open a command prompt and type:

netstat -an -o

This will give you a list of applications (and PIDs) that have ownership of ports. Look for the port, and associate the PID with a Process in task manager.

Let’s take a common example.  You enable HTTPS for web connections in the server document and restart http.   The Domino console tells you “HTTP Server: Error – Unable to Bind port 443, port may be in use or user needs net_privaddr privilege”.

Remote to the OS of the server.  Open a command prompt.  Type “netstat -an -o”.  You’ll get something like this:-

Look for the port in question, in this case it’s 443, and the associated PID is 1268.  Open windows task manager, click “View” and “Select Columns..

Make sure PID is selected as a column.

 

Sort by the “PID” column and look for the PID from earlier (1268 in this case), you’ll find the “offending” application under “Image Name”.

In this case it was TeamViewer as you can see.

I hope you found this useful.  It’s not that complex a problem, but often it takes few minutes to remember exactly what the best way of checking this is!

Cormac McCarthy – Domino People Ltd.

This entry was posted in bind error, Domino Web Server, HTTP, HTTPS, netstat, SSL. Bookmark the permalink.

4 Responses to Domino Error – Unable to Bind port…..

  1. Tshepo Monyepao says:

    Thank you very much, This article was so helpful after we migrated a server to VM and the port 80 was bound by “something” and crashing the HTTP task on Domino, much appreciated.
    regards
    Tshepo
    (South Africa)

  2. David Hablewitz says:

    So what do you do when the process identified is System NT Kernel & System?

Leave a Reply

Your email address will not be published. Required fields are marked *

*

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>