Recently i was connecting my domain with freeminecrafthost but when i joined it said getsockopt and i tried solving this in the discord server but neither i or the owner emory couldnt get it solved. So now im posting it here hopefully someone will help.

Hello. Sometimes this issue happens. You just need to keep hard-refreshing until it works. Usually this can happen because of connectivity issues or that some resources have been restricted.

    Silvereen I think it has something to do with the server version, he is talking about a custom domain to his free Minecraft server. I could not get a SRV record to work on his server, but when I switched to someone else's server I could join through the domain. I believe this has to do something with spigot 1.21 as I see it reported a lot on reddit.

    @TheRiniki Could you try another Minecraft version or server type like paper? I know its the version type of the server because you even deleted it and restarted it and it was still broken.