mirror of
https://github.com/Melledy/Grasscutter.git
synced 2024-11-22 07:37:43 +00: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.setHost(HTTP_INFO.bindAddress);
|
||||
server.setConnectors(new ServerConnector[]{serverConnector});
|
||||
|
||||
return server;
|
||||
|
Loading…
Reference in New Issue
Block a user