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

[BUG]: Port is already allocated #14

Open
lucielavickova-tesena opened this issue Sep 16, 2023 · 2 comments
Open

[BUG]: Port is already allocated #14

lucielavickova-tesena opened this issue Sep 16, 2023 · 2 comments
Assignees
Labels
bug Something isn't working

Comments

@lucielavickova-tesena
Copy link

lucielavickova-tesena commented Sep 16, 2023

Describe the bug

When trying to run healenium with selenoid (following the instructions in readme of this project), I am getting error "Bind for 0.0.0.0:4444 failed: port is already allocated"

How to reproduce the issue

following the instructions in readme of this project:
Run healenium with Selenoid:
docker-compose -f docker-compose-selenoid.yaml up -d)

Logs appeared during using Healenium

docker-compose -f docker-compose-selenoid.yaml up -d
WARNING: Found orphan containers (node-chrome, node-edge, selenium-hub, node-firefox) for this project. If you removed or renamed this service in your compose file, you can run this comma
nd with the --remove-orphans flag to clean it up.
Pulling selenoid (aerokube/selenoid:latest-release)...
latest-release: Pulling from aerokube/selenoid
31e352740f53: Already exists
4d9654089ec8: Pull complete
d60fe17e67be: Pull complete
Digest: sha256:2f62d39768cb0e5f97eb136e96cd383ffd9e4b609bef7660fc1b9ae07b015f2d
Status: Downloaded newer image for aerokube/selenoid:latest-release
Pulling selenoid-ui (aerokube/selenoid-ui:latest-release)...
latest-release: Pulling from aerokube/selenoid-ui
74bfd01d31d7: Pull complete
8542b775495f: Pull complete
622c7898b7a7: Pull complete
Digest: sha256:15d6460288d58930e05bfe3b12add41bf51053bd2c366ad2af94861eea04bc25
Status: Downloaded newer image for aerokube/selenoid-ui:latest-release
Recreating hlm-proxy ... 
selector-imitator is up-to-date
postgres-db is up-to-date
healenium is up-to-date
Creating healenium_selenoid-ui_1 ... 
Creating healenium_selenoid_1    ...
Creating healenium_selenoid_1    ... error
Recreating hlm-proxy             ... done
Creating healenium_selenoid-ui_1 ... done
5c00baffc95f9f917423ab3): Bind for 0.0.0.0:4444 failed: port is already allocated

ERROR: for selenoid  Cannot start service selenoid: driver failed programming external connectivity on endpoint healenium_selenoid_1 (9a8ca0530bbb938b00fe4448f21546e3d86ed6bdc5c00baffc95f
9f917423ab3): Bind for 0.0.0.0:4444 failed: port is already allocated
ERROR: Encountered errors while bringing up the project.

Expected behavior

tests starting

Actual behavior

error "Bind for 0.0.0.0:4444 failed: port is already allocated"

Healenium Proxy version

1.3.5

Healenium Backend version

3.4.0

Selenium version

No response

Additional context

No response

@lucielavickova-tesena lucielavickova-tesena added the bug Something isn't working label Sep 16, 2023
@Alex-Reif
Copy link
Contributor

Hi @lucielavickova-tesena , It means you have other open process on the port 4444. Kindly kill the process and start docker compose again

@lucielavickova-tesena
Copy link
Author

it helped, thank you

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants