listen on 127.0.0.1 instead of 'localhost'
This commit is contained in:
parent
ebdb71343c
commit
bcf9d605d2
@ -89,5 +89,5 @@ void HttpGateway::work(RequestWorker &worker)
|
|||||||
};
|
};
|
||||||
server.Get("/(.*)", handler);
|
server.Get("/(.*)", handler);
|
||||||
server.Post("/(.*)", handler);
|
server.Post("/(.*)", handler);
|
||||||
server.listen("localhost", 1234);
|
server.listen("127.0.0.1", 1234);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user