You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jul 27, 2023. It is now read-only.
Tried different options (providing local, 127.0.0.1 and real IP addresses) to container, but still doesn't work.. App inside container can't find hosts.
docker run -e consul.host=http://consul.service.consul:8500 -p 6080:8080 container
return Consul.builder()
.withUrl(host)
.build();
Caused by: java.net.UnknownHostException: consul.service.consul: unknown error
at java.net.Inet6AddressImpl.lookupAllHostAddr(Native Method) ~[na:1.8.0_72-internal]
The text was updated successfully, but these errors were encountered:
Tried different options (providing local, 127.0.0.1 and real IP addresses) to container, but still doesn't work.. App inside container can't find hosts.
docker run -e consul.host=http://consul.service.consul:8500 -p 6080:8080 container
The text was updated successfully, but these errors were encountered: