Uploaded image for project: 'Minecraft: Java Edition'
  1. Minecraft: Java Edition
  2. MC-272195

Minecraft 1.20.6 Unable to connect to multiplayer games (getsockopt)

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Invalid
    • None
    • 1.20.6
    • Client PC: Windows11 Java22
      Host Server: Windows10Server Java22
    • Community Consensus
    • (Unassigned)

      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.

       

            Unassigned Unassigned
            UnarmedShadow UnarmedShadow
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved:
              CHK: