Skip to content

Commit

Permalink
interop, examples: use localhost instead of 127.0.0.1 (#3124)
Browse files Browse the repository at this point in the history
  • Loading branch information
dfawley committed Oct 28, 2019
1 parent 88080a2 commit 4ec516e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion examples/route_guide/client/client.go
Expand Up @@ -39,7 +39,7 @@ import (
var (
tls = flag.Bool("tls", false, "Connection uses TLS if true, else plain TCP")
caFile = flag.String("ca_file", "", "The file containing the CA root cert file")
serverAddr = flag.String("server_addr", "127.0.0.1:10000", "The server address in the format of host:port")
serverAddr = flag.String("server_addr", "localhost:10000", "The server address in the format of host:port")
serverHostOverride = flag.String("server_host_override", "x.test.youtube.com", "The server name use to verify the hostname returned by TLS handshake")
)

Expand Down
2 changes: 1 addition & 1 deletion interop/http2/negative_http2_client.go
Expand Up @@ -40,7 +40,7 @@ import (
)

var (
serverHost = flag.String("server_host", "127.0.0.1", "The server host name")
serverHost = flag.String("server_host", "localhost", "The server host name")
serverPort = flag.Int("server_port", 8080, "The server port number")
testCase = flag.String("test_case", "goaway",
`Configure different test cases. Valid options are:
Expand Down

0 comments on commit 4ec516e

Please sign in to comment.