listen on 127.0.0.1 instead of 'localhost'
This commit is contained in:
szülő
a7137460f0
commit
0bd12d1684
@ -91,5 +91,5 @@ void HttpGateway::work(RequestWorker &worker)
|
||||
};
|
||||
server.Get("/(.*)", handler);
|
||||
server.Post("/(.*)", handler);
|
||||
server.listen("localhost", 1234);
|
||||
server.listen("127.0.0.1", 1234);
|
||||
}
|
||||
|
Betöltés…
Reference in New Issue
Block a user