[Fix] fix http server bind address (thx @dasha-yarkoff )

This commit is contained in:
hartie95 2023-08-07 19:00:14 +02:00
parent 2d6b623bc7
commit 7a7bf9b972

View File

@ -90,6 +90,7 @@ public final class HttpServer {
}
serverConnector.setPort(HTTP_INFO.bindPort);
serverConnector.setHost(HTTP_INFO.bindAddress);
server.setConnectors(new ServerConnector[]{serverConnector});
return server;