aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/csharp
diff options
context:
space:
mode:
authorGravatar Jan Tattermusch <jtattermusch@google.com>2015-04-22 10:22:06 -0700
committerGravatar Jan Tattermusch <jtattermusch@google.com>2015-04-22 10:22:06 -0700
commit8cad507126b701b0831d6b39dfbfc5d49aa8590c (patch)
treea9cd6a076502de10c5e21d3dc0e630016f5fd107 /src/csharp
parentea67c96a99fd0a74754f3c72f7caa24e038299c7 (diff)
mathserver listens on fixed port
Diffstat (limited to 'src/csharp')
-rw-r--r--src/csharp/Grpc.Examples.MathServer/MathServer.cs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/csharp/Grpc.Examples.MathServer/MathServer.cs b/src/csharp/Grpc.Examples.MathServer/MathServer.cs
index 884a84d0a6..f7429fb43f 100644
--- a/src/csharp/Grpc.Examples.MathServer/MathServer.cs
+++ b/src/csharp/Grpc.Examples.MathServer/MathServer.cs
@@ -46,7 +46,7 @@ namespace math
Server server = new Server();
server.AddServiceDefinition(MathGrpc.BindService(new MathServiceImpl()));
- int port = server.AddListeningPort(host + ":0");
+ int port = server.AddListeningPort(host + ":23456");
server.Start();
Console.WriteLine("MathServer listening on port " + port);