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

runing multiple instances (count) allocate same dynamic port #492

Closed
sielaq opened this issue Nov 23, 2015 · 5 comments
Closed

runing multiple instances (count) allocate same dynamic port #492

sielaq opened this issue Nov 23, 2015 · 5 comments

Comments

@sielaq
Copy link

sielaq commented Nov 23, 2015

Hi there,

try nomad init example with count = 2
(where no example was running before)
you will see error like this:

failed to create endpoint smooth-128e27d4-919d-e019-f953-e226113172e0 on network bridge: Bind for 127.0.0.1:47006 failed: port is already allocated

Same if you want to scale up (from 1 to 4) it will spawn only one new container, and 2 gonna be failed.
seems like it allocate dynamic port for every instances.

@sielaq
Copy link
Author

sielaq commented Nov 23, 2015

definitely in v0.2.0, I'm trying now against master...

@sielaq
Copy link
Author

sielaq commented Nov 23, 2015

and the same in master

@dadgar
Copy link
Contributor

dadgar commented Nov 23, 2015

@sielaq: Thanks for reporting. Confirmed it as a bug and we are working on a fix now

@ashmckenzie
Copy link

Can confirm a nomad binary built from master solves this problem 👍

benbuzbee pushed a commit to benbuzbee/nomad that referenced this issue Jul 21, 2022
@github-actions
Copy link

I'm going to lock this issue because it has been closed for 120 days ⏳. This helps our maintainers find and focus on the active issues.
If you have found a problem that seems similar to this, please open a new issue and complete the issue template so we can capture all the details necessary to investigate further.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Dec 28, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

4 participants