Connectivity Problem with Minecraft - Can't connect to NeoForge server

System Information

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

Problem Description

Issue

Getting “Can’t connect to server” message on server screen of minecraft, even though server is running. Trying to direct connect gives error: “Connection timed out: getsockopt”. This is only happening with NeoForge as far as I can tell. The server lets me connect if it is using vanilla minecraft.

Reproduction Steps

  • Made server use neoforge
  • update and installed neoforge in game panel
  • start server
  • try to connect to server in minecraft
  • get error

See this guide here regarding modded setups:

If you’re with Hostinger, try connecting via the VPS’s IP instead of the domain name they gave you.

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.