-
Notifications
You must be signed in to change notification settings - Fork 54
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
Can't start envoy with instruction from Secure Service Communication tutorial #15
Comments
Hi @strogiyotec, Consul should be automatically assigning non-conflicting ports to proxies. You should not need to explicitly define the upstream listener port. Are you still seeing a port conflict if you remove the static port declaration from the sidecar service registrations? |
Hello! I'm running into a similar issue. I'm using 2 hosts that I want to establish service mesh with Consul and envoy. cannot bind '127.0.0.1:19000': Address already in use - fair enough, I guess that's why there was the admin bind to 19001 With admin bind I get:
I have GRPC active on all Consul client and Server agents: Can connect to the consul server agents on the port (8502) and have it configured there as well. I have also enabled connect on the consul server agents. Consul version: 1.10.4 (server) 1.10.3 (client) Any help, would be much appreciated! |
Hey, so I was trying to run the environment described in this tutorial . However , I wasn't able to start envoy with this command
The error output was
[external/envoy/source/server/server.cc:594] exiting cannot bind '127.0.0.1:21000': Address already in use
After checking the documentation I found that sidecar chooses random port starting from 21000, I tried to reconfigure counting and dashboard by specifying a port explicitly
counting.json
dashbord.json
And after that envoy was able to start proxies. I am not sure is it a bug in consul or developers are supposed to explicitly specify sidecar ports ?
My consul version is
1.10.0
and envoy is '1.18.3'The text was updated successfully, but these errors were encountered: