Skip to content
Permalink
Browse files

IPv6: Switch localhost and any host in Envoy Pilot JSON

Modifies the addresses to use [::] and [::1], instead of 0.0.0.0 and
127.0.0.1 for the JSON file. NOTE: This forces this to use IPv6, and
should be configurable, so that users can select IPv4 or IPv6 operation.
  • Loading branch information...
pmichali committed Mar 5, 2018
1 parent 21b82c4 commit 65dc3e924be73d117bb5d87e2e60b1cbc61d3067
Showing with 4 additions and 4 deletions.
  1. +4 −4 pilot/docker/envoy_pilot.json
@@ -1,7 +1,7 @@
{
"listeners": [
{
"address": "tcp://0.0.0.0:15003",
"address": "tcp://[::]:15003",
"name": "tcp_0.0.0.0_15003",
"filters": [
{
@@ -22,7 +22,7 @@
"bind_to_port": true
},
{
"address": "tcp://0.0.0.0:15007",
"address": "tcp://[::]:15007",
"name": "tcp_0.0.0.0_15007",
"filters": [
{
@@ -45,7 +45,7 @@
],
"admin": {
"access_log_path": "/dev/stdout",
"address": "tcp://127.0.0.1:15000"
"address": "tcp://[::1]:15000"
},
"cluster_manager": {
"clusters": [
@@ -56,7 +56,7 @@
"lb_type": "round_robin",
"hosts": [
{
"url": "tcp://127.0.0.1:8080"
"url": "tcp://[::1]:8080"
}
]
}

0 comments on commit 65dc3e9

Please sign in to comment.
You can’t perform that action at this time.