Listen to all addresses
This commit is contained in:
+1
-1
@@ -242,7 +242,7 @@ static unique_ptr<Server> &GetServer()
|
|||||||
|
|
||||||
static int RunServer()
|
static int RunServer()
|
||||||
{
|
{
|
||||||
string server_address("localhost:10086");
|
string server_address("0.0.0.0:10086");
|
||||||
WcfImpl service;
|
WcfImpl service;
|
||||||
|
|
||||||
lBuilder.AddListeningPort(server_address, grpc::InsecureServerCredentials());
|
lBuilder.AddListeningPort(server_address, grpc::InsecureServerCredentials());
|
||||||
|
|||||||
Reference in New Issue
Block a user