diff --git a/core/src/main/java/com/seibel/distanthorizons/core/network/netty/NettyClient.java b/core/src/main/java/com/seibel/distanthorizons/core/network/netty/NettyClient.java index 7655e8e85..84ec55345 100644 --- a/core/src/main/java/com/seibel/distanthorizons/core/network/netty/NettyClient.java +++ b/core/src/main/java/com/seibel/distanthorizons/core/network/netty/NettyClient.java @@ -122,7 +122,10 @@ public class NettyClient extends NettyEventSource implements INettyConnection, A { return; } - this.address = new InetSocketAddress(host, port); + + // Remove IPv6 brackets + host = host.replaceAll("[\\[\\]]", ""); + this.address = new InetSocketAddress(host port); if (this.channel != null) {