Domino & Notes error

Error on Listen function: The requested TCP/IP port is in use on this system

What it means

When the Domino port started, another process already held the IP address and port it needs (usually TCP 1352).

Common causes

  • Another program or a second Domino partition is bound to the same address and port
  • Windows gave port 1352 to an outbound connection as an ephemeral port
  • Partitioned servers without their own IP addresses
  • Domino didn't shut down cleanly and old processes are still running

Quick fixes

  1. Run netstat -ano (Windows) or netstat -tlnp (Linux) to find what holds the port
  2. Stop leftover Domino processes, or the other program, and restart Domino
  3. Give each partition its own IP address and bind each port to it
  4. On Windows, reserve port 1352 so it can't be used as an ephemeral port

Need a hand with this?

Paste your exact message into What's That Error? for a plain-English explanation, or get in touch. I've been supporting Domino and Notes for 28 years.

Disclaimer

The errors, causes and fixes on this site are carefully researched, drawing on HCL documentation and 28 years of hands-on Domino and Notes experience. Every environment is different, though, and a solution that works in one may not be right for yours. Exact wording can also vary between Domino and Notes versions.

This information is general guidance only and is provided without warranty of any kind. Always back up your data and test changes on a non-production system first. To the extent permitted by law, Bruinsma Services Pty Ltd accepts no responsibility or liability for any loss, damage, downtime or other consequence arising from use of this information. For advice specific to your environment, please contact me.