Skip to content

Commit cf1154c

Browse files
authored
Update README.md (#1482)
1 parent c486e40 commit cf1154c

File tree

1 file changed

+12
-0
lines changed
  • net/grpc/gateway/examples/helloworld

1 file changed

+12
-0
lines changed

net/grpc/gateway/examples/helloworld/README.md

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -172,6 +172,18 @@ static_resources:
172172
> address: docker.for.mac.localhost
173173
> ```
174174

175+
> NOTE: As per
176+
> [Envoy - Envoy Networking](ttps://www.envoyproxy.io/docs/envoy/latest/start/quick-start/run-envoy#envoy-networking),
177+
> if your environment does not enable IPv6, enable only IPv4 in the cluster
178+
> by adding the `dns_lookup_family: V4_ONLY` field:
179+
>
180+
> ```yaml
181+
> ...
182+
> clusters:
183+
> - name: greeter_service
184+
> dns_lookup_family: V4_ONLY
185+
> ```
186+
175187
## Write Client Code
176188

177189
Now, we are ready to write some client code! Put this in a `client.js` file.

0 commit comments

Comments
 (0)