Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

LDAPSocketOpenError: socket connection error while opening: [Errno 111] Connection refused #1018

Open
Lisa1467 opened this issue Feb 3, 2022 · 1 comment

Comments

@Lisa1467
Copy link

Lisa1467 commented Feb 3, 2022

Please can someone help with this?

@zorn96
Copy link
Collaborator

zorn96 commented Feb 7, 2022

this usually means you're trying to connect on a port your server doesn't have open/isn't listening on, or that a firewall is in your way.

ex: "ldap://" defaults to port 389, "ldaps://" defaults to 636. some servers (like oracle unified directory) use different ports like 1389 and 1636. your firewall could also be blocking traffic and need an allowlist rule added.

this isn't really a library issue, it's a server config issue

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants