-
Notifications
You must be signed in to change notification settings - Fork 60
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
Default port 7946 collides with Docker Swarm port #22
Comments
Good catch. I believe swarm also uses memberlist, so that would explain it. I'm thinking about implementing some bigger changes that would sidestep this problem, but if I don't get around it in the next few weeks, I'll probably change the default port. |
Can't you already change the Port
https://github.com/costela/wesher/blob/master/README.md
Look under Configuration Options
…On Fri, Apr 10, 2020, 3:41 PM Dr-Shadow ***@***.***> wrote:
Any news about this ?
I'm using wesher with docker swarm and I lost some time looking through
these logs to understand what was happening.
Even a simple default port change should be enough for future users.
Btw I love to bootstrap my servers like this :
[image: image]
<https://user-images.githubusercontent.com/5308086/79018353-ea43f880-7b73-11ea-8110-002ce5417fd0.png>
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
<#22 (comment)>, or
unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAM23J2ZMMIAYY3XH5YIXW3RL5ZAHANCNFSM4KLFURPA>
.
|
hey @Dr-Shadow! I'm thinking I'll spread this over two releases: first adding the cluster port to Here's to hoping I can find the time 🤞 😅 BTW: in your cloud-init, wouldn't it be slightly safer to have |
@bmullan I think he knows that: his config is already setting |
Nice catch ty. That's still a WIP cluster and I got most of the things working including docker swarm init / join as manager/worker in cloud-init all together with wesher. |
The first node has no special role. Any other node in the cluster can be used to join an existing cluster and will forward the other nodes' information along. |
Hi,
I tried to setup docker swarm over wesher and run into a port conflict. According to the docker swarm docs swarm uses TCP and UDP port 7946.
Cause docker swarm is a common project I vote to change the default wesher port to something else instead, e.g.
7680
.As a workaround you can of cause use
--cluster-port 7980
to setup the mesh on another port. Doing so, works like a charm with swarm.The text was updated successfully, but these errors were encountered: