Connectivity Problem with Minecraft - its giving a message "cant connect to server"

System Information

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

Problem Description

Issue

installed a minecraft modpack with the store and it looks all right im on the right version of neoforge and im using the right endpoint so why does it say in minecraft “cant connect to server”

Reproduction Steps

  • made sure all the systems and mods were set up correctly
  • looked up what the issue might be: it said that it might be that more than 1 server was sharing a endpoint but it was wrong
  • redid the whole thing and its still not working