Error code

Minecraft Internal Exception: java.net.SocketException: Connection reset

MINECRAFTInternal Exception: java.net.SocketException: Connection reset
Game/Platform Error· An error code shown by a game or gaming platform/launcher.

What it means

The TCP connection to the server was abruptly closed mid-session.

How to fix it

  1. Reboot your router and change your DNS server.
  2. allow Minecraft through Windows Firewall and antivirus.
  3. lower render distance to 8 or below.
  4. disable mods or resource packs to test.
  5. update Java and increase allocated RAM.

Not affiliated with Minecraft. Answer summarized from the manufacturer's manual linked above; consult that source for the authoritative procedure.