Connectivity Problem with Minecraft - getting getsockopt error

System Information

Field Value
Operating System Linux - Debian GNU/Linux 12 on x86_64
Product AMP ‘Phobos’ v2.6.4.0 (Mainline)
Virtualization Docker
Application Minecraft
Module MinecraftModule
Running in Container Yes
Current State Ready

Problem Description

Issue

I have a curseforge profile my friend sent me i made the server set it up and copy and pasted the exact files from that profile into the server and the server loaded fine but i go to join and get connection timed out ive gone on my hotspot to see if its my wifi but dont work so i thought maybe its worth seeing if he can join (my friend that sent the profile) and sure enough he joins and is playing no issues

Reproduction Steps

  • disabled my firewall and defender for testing purposes
  • double checked mod versions and server
  • using right ip

If you’re with Hositnger try using the IP of the VPS instead of the domain they gave you