Update troubleshoot.md (#14243)

pull/14244/head
James Newton-King 2019-09-11 11:03:32 +12:00 committed by Rick Anderson
parent 680e7b5f28
commit 0f360e6e0b
1 changed files with 1 additions and 1 deletions

View File

@ -76,7 +76,7 @@ Additional configuration is required to call insecure gRPC services with the .NE
AppContext.SetSwitch("System.Net.Http.SocketsHttpHandler.Http2UnencryptedSupport", true);
// The port number(5000) must match the port of the gRPC server.
var channel = GrpcChannel.ForAddress("https://localhost:5001");
var channel = GrpcChannel.ForAddress("http://localhost:5000");
var client = new Greet.GreeterClient(channel);
```