Listen to all addresses

This commit is contained in:
Changhua 2023-01-17 21:36:45 +08:00
parent c83bff62ba
commit fcb2a948d8

View File

@ -242,7 +242,7 @@ static unique_ptr<Server> &GetServer()
static int RunServer()
{
string server_address("localhost:10086");
string server_address("0.0.0.0:10086");
WcfImpl service;
lBuilder.AddListeningPort(server_address, grpc::InsecureServerCredentials());