diff --git a/src/main/java/de/strifel/VTools/OnlinePlayerQueryService.java b/src/main/java/de/strifel/VTools/OnlinePlayerQueryService.java index ff3fe2d..3422a3f 100644 --- a/src/main/java/de/strifel/VTools/OnlinePlayerQueryService.java +++ b/src/main/java/de/strifel/VTools/OnlinePlayerQueryService.java @@ -24,7 +24,7 @@ public class OnlinePlayerQueryService { public void register() { try { - HttpServer server = HttpServer.create(new InetSocketAddress(17611), 0); + HttpServer server = HttpServer.create(new InetSocketAddress("127.0.0.1", 17611), 0); server.createContext("/api/getOnlinePlayers", exchange -> { Collection players = plugin.getServer().getAllPlayers();