From 85ffb7f03449ebab2573fe5ad82306c7a6f80a7f Mon Sep 17 00:00:00 2001 From: ayunami2000 Date: Sun, 24 Jul 2022 20:30:57 -0400 Subject: [PATCH] Fix bungee bind error. --- .../main/java/net/md_5/bungee/eaglercraft/WebSocketListener.java | 1 + 1 file changed, 1 insertion(+) diff --git a/eaglercraftbungee/src/main/java/net/md_5/bungee/eaglercraft/WebSocketListener.java b/eaglercraftbungee/src/main/java/net/md_5/bungee/eaglercraft/WebSocketListener.java index 090ba6f..c160cdc 100644 --- a/eaglercraftbungee/src/main/java/net/md_5/bungee/eaglercraft/WebSocketListener.java +++ b/eaglercraftbungee/src/main/java/net/md_5/bungee/eaglercraft/WebSocketListener.java @@ -52,6 +52,7 @@ public class WebSocketListener extends WebSocketServer { public WebSocketListener(ListenerInfo info, InetSocketAddress sock, ProxyServer bungeeCord) { super(info.getHost()); + this.setReuseAddr(true); this.setTcpNoDelay(true); this.setConnectionLostTimeout(20); this.start();