Mojira Archive
MC-272195

Unable to connect to multiplayer games (getsockopt) on 24w14a/1.20.5 and above

Updated my server to 1.20.6 and I am unable to join it.  Getting the error Connection timed out: getsockopt .

 

Please note I have tried many different server software and have gotten the same issue. My current tested versions are as follows: Vanilla, Paper, Spigot, Fabric, and Purpur.

I have also tested various clients, clients I have tested follows: Vanilla and Fabric (With and without mods)

 

On my pc I have java SE, java, javaw, and javaw.exe with firewall permissions in both private and public. On the server host machine I have the same fields set. 

 

=====OS and Java Ver=====

My pc is running on Windows11, and has Java22 installed. 

The server is running on Windows10server, and has Java22 installed.

 

I have not changed anything on either pc when related to firewalls, port-forwarding, or IP [As I have a static IP Address].  As well when opening the Multiplayer tab there was no pop-up asking for Windows Firewall permissions, unlike every new version which asks for Windows Firewall permissions. 

I have looked around many forums about this issue and their solution is to disable Windows Defender / Windows Firewall on the Host and Client. I do not wish to do that as it leaves many doors open for malicious attackers, both to my server and the people who play on the server.

 

Please, if you see this we the community would like this fixed as soon as possible. 

 

Thank you,

UnarmedShadow

 

As requested by a Mod here is a video of the issue on the left is my client trying to connect to the server on the right. You can see that the server doesn't recognize the client attempting to connect. While the client throws error GetSockOpt. This is not an IP issue as I can run server below 1.20.5+ without this issue. 

 

Video: https://youtu.be/OtvuRXCnRqI

 

Addition (Dunno if I should make this a new Report): Making my host machine use Java 21 or above  has stopped all servers below 1.20.0 from functioning.  This is getting out of hand.

 

Invalid

UnarmedShadow

2024-05-19, 04:13 AM

2024-12-10, 05:59 AM

2024-05-23, 07:44 AM

0

2

Community Consensus

(Unassigned)

conneciton, serious, server

1.20.6

-