Address already in use in service




I’m using CircleCI 2.0 workflow with two services to run func tests : openldap and postgres. Since a few days, openldap fails to bootstrap with Address already in use error.

Last successful build is
An example of failure :

The container starts a slapd instance for setup (see ) with fails with:

5a4ce46d daemon: listen(ldap://localhost, 5) failed errno=98 (Address already in use)

I tried various workaround at and didn’t find any solution. Do you have some clue ?

Happy new year !



It looks like you have an ldap container running and you then try to start an ldap service. That’s going to be a port collision.

You could always define the name of the ldap container so you can overload ports:


This topic was automatically closed 41 days after the last reply. New replies are no longer allowed.