I can't join servers that I create for some reason. I been trying to fix it for the past few day but I got nothing. It started when I wanted to play a map in 1.8.9. I couldn't join my server but my friend can. I tried 1.12.2, 1.18.1, and 1.19.3, but all were the same. (The server for 1.18.1 was already created months ago)
Here are the error messages from minecraft:
1.8.9 & 1.12.2 - Internal Exception: java.io.IOException: An existing connection was forcibly closed by the remote host
1.18.1 & 1.19.3 - Internal Exception: java.net.SocketException: Connection reset
I checked the console when I disconected and I found these:
Internal Exception: io.netty.handler.codec.DecoderException: The received string length is longer than maximum allowed (19 > 16)
or
lost connection: TranslatableComponent{key='disconnect.genericReason', args=[Internal Exception: io.netty.handler.codec.DecoderException: The received string length is longer than maximum allowed (19 > 7)], siblings=[], style=Style{hasParent=false, color=null, bold=null, italic=null, underlined=null, obfuscated=null, clickEvent=null, hoverEvent=null, insertion=null}}
or
lost connection: Internal Exception: io.netty.handler.codec.DecoderException: java.io.IOException: Packet 0/6 (yz) was larger than I expected, found 30 bytes extra whilst reading packet 6