Question Failure to connect to server


New member
Feb 4, 2023

I have a Paper server running on a local machine which I can connect to using a local address (192.168.x.x). I've set up port forwarding on my router in order to be able to connect from the internet. When I do that, I get the error "Can't connect to server. Internal Exception: io.netty.handler.codec.DecoderException; java.lang.IndexOutOfBoundsException: Index 84 out of bounds for length 5".

I know the port redirection is working properly, since if I try to connect to any other port I simply get "Connection refused".

In the launcher_log.txt file I only get this: "[Info: 2023-02-04 11:27:05.819025: MinecraftJavaLoggingContext.cpp(52)] Game/eny (Render thread) Info Connecting to [myip], [my outside port]"

Any ideas what could be causing this?

Version Output
System Info: Java 19 (OpenJDK 64-Bit Server VM 19.0.2+7) Host: Mac OS X 12.6.2 (x86_64)
This server is running Paper version git-Paper-386 (MC: 1.19.3) (Implementing API version 1.19.3-R0.1-SNAPSHOT) (Git: 4da844f)
You are running the latest version
Previous version: git-Paper-380 (MC: 1.19.3)