mirror of
https://github.com/Grasscutters/Grasscutter.git
synced 2025-05-08 13:06:02 +08:00
It now can bind on correct addr (#2254)
Now Grasscutter will bind on address specified in config.json (bindAddress), instead of 0.0.0.0
This commit is contained in:
parent
5090b17b80
commit
47186a47b2
@ -113,6 +113,7 @@ public final class HttpServer {
|
|||||||
}
|
}
|
||||||
|
|
||||||
serverConnector.setPort(HTTP_INFO.bindPort);
|
serverConnector.setPort(HTTP_INFO.bindPort);
|
||||||
|
serverConnector.setHost(HTTP_INFO.bindAddress);
|
||||||
server.setConnectors(new ServerConnector[]{serverConnector});
|
server.setConnectors(new ServerConnector[]{serverConnector});
|
||||||
|
|
||||||
return server;
|
return server;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user