I am facing the following issue, when running gRPC directly on Linux Ubuntu 22.04.4.
I have a quarkus gRPC client-server implementation, with the following config like (many different services):
quarkus.grpc.clients.event-svc.host=0.0.0.0
quarkus.grpc.clients.event-svc.port=8080
On Ubuntu, if the client is used like this, we are facing Connection refused. If I change the host to 127.0.0.1 on that machine, it will work okay.
What is interesting to me, that on Windows 11 in WSL using same Ubuntu, or on Linux Mint, or on MacOS, the address 0.0.0.0 will get directly resolved to localhost, and the connection is working for the client even with that address…
1