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.
6 thoughts on “Domino Error – Unable to Bind port…..”
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.
Steven Vaughan says:
That’s great. We are always delighted to hear when we have helped someone out. (especially so many miles away!). Thanks for posting.
David Hablewitz says:
So what do you do when the process identified is System NT Kernel & System?
Cormac McCarthy says:
It’s most likely IIS, but try World Wide Web Publishing service too.
Let us know how you get on.
Just disable “World Wide Web Publishing service” in services if you don’t need it and run “load http” from Lotus Domino console.
Hope this help
I have tried disabling “World Wide Web Publishing service” in services and ran “load http” from Lotus Domino console and it still states its unable to bind to port 80. The PID was tied to NT Kernel& System. Any thoughts?