Come chat with us and we will get back to you as soon as possible!
Contact SupportHolyHosting
Holy Team

The Minecraft `Connection timed out: getsockopt` error usually appears when your client cannot reach the server. That sounds simple, but the cause can be anything from a blocked network to a wrong server address. Very helpful, in the same way a locked door is helpful when nobody gives you the key.
Below are the most common causes and fixes to try before assuming the server is gone forever.
A getsockopt timeout often means something interrupted the connection between Minecraft and the server. Common causes include:
Because the message does not identify the exact problem, the best approach is to test the simple fixes first.
Start with the easy reset. Close Minecraft and fully quit the launcher, then open it again and try joining the server.
If the launcher is stuck in the background, force close it from Task Manager on Windows or Activity Monitor on macOS. Restarting the whole computer can also clear a stuck Java or launcher process.
Make sure you are using the correct IP address, port, or subdomain for the server. A single wrong digit or an old subdomain can cause the same timeout.
After confirming the address:

Direct Connection is useful because it bypasses any stale saved server entry in your multiplayer list.
If the address is correct, test whether your network is the problem:
If Minecraft works on a hotspot but not on your normal network, the server probably is not the main issue.
Your computer firewall may block Java or Minecraft from making the connection.
Sometimes the issue is not your computer or the server. If Minecraft authentication services are down, joining multiplayer servers may fail until service is restored.
Check a service status source such as Minecraft Downdetector or the official Mojang Status account on X. If authentication is down, the only real fix is to wait.
If the error continues after checking the launcher, server address, network, firewall, and authentication status, contact your hosting provider. They can verify whether the server is online, confirm the correct connection address, and check whether a new IP, port, or subdomain is needed.
The `getsockopt` error is frustrating because it points to a connection failure without naming the exact cause. Work through the basics in order: restart the launcher, use Direct Connection, test another network, allow Minecraft through the firewall, and check Minecraft service status. One of those usually reveals where the connection is failing.
Come chat with us and we will get back to you as soon as possible!
Contact SupportMake every block, mob, and tool in Minecraft look like Lego pieces. This guide walks through downloading, installing, and running Brickcraft on both client and server.
Learn how to install Litematica for Minecraft, load schematic files, position blueprints, and use the material list for survival builds.
Set up Valhelsia Enhanced Vanilla for Minecraft, install the client profile, configure your server, and learn the early skills, items, and fixes that help the pack run smoothly.