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

Port 2181 bind error on Zookeeper startup #86

Open
dr3x opened this issue Nov 18, 2021 · 0 comments
Open

Port 2181 bind error on Zookeeper startup #86

dr3x opened this issue Nov 18, 2021 · 0 comments

Comments

@dr3x
Copy link

dr3x commented Nov 18, 2021

Description
Error starting zookeeper on docker-compose up.
May be Docker issue docker/compose#7188

Update
After upgrading Docker Desktop to 4.2.0 and rebooting machine, was able to get the instance to start; could be timing issue.

curl --silent --output docker-compose.yml
https://raw.githubusercontent.com/confluentinc/cp-all-in-one/7.0.0-post/cp-all-in-one/docker-compose.yml

docker-compose up -d

Troubleshooting
Docker Issue: Port conflict with multiple "host::port" services

Output of compose log:
...
Creating zookeeper ... error

ERROR: for zookeeper Cannot start service zookeeper: Ports are not available: listen tcp 0.0.0.0:2181: bind: An attempt was made to access a socket in a way forbidden by its access permissions.

ERROR: for zookeeper Cannot start service zookeeper: Ports are not available: listen tcp 0.0.0.0:2181: bind: An attempt was made to access a socket in a way forbidden by its access permissions.
ERROR: Encountered errors while bringing up the project.

Environment

  • GitHub branch: 7.0.0-post
  • Operating System: Windows 10
  • Version of Docker: Docker Desktop 3.0.0 / 4.2.0
  • Version of Docker Compose: version 1.27.4, build 40524192 / 1.29.2, build 5becea4c
    Updated Docker Desktop, same 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

1 participant