Connectivity Problem with Application Deployment - Players cannot connect – “Connection refused: getsockopt”

System Information

Field Value
Operating System Linux - Debian GNU/Linux 12 on x86_64
Product AMP ‘Phobos’ v2.6.3.2 (Mainline)
Virtualization QEMU_KVM
Application Application Deployment
Module ADSModule
Running in Container No
Current State Indeterminate

Problem Description

Issue

My Fabric 1.21.1 Minecraft server ) is running and marked as “Listening” on both SFTP and Game ports, but no external connections can be made. The console confirms the server is active and bound to the port, yet all players receive “Connection refused: getsockopt.”

Reproduction Steps

  • Started the Fabric 1.21.1 Minecraft server in AMP.
  • Server console shows “Done! For help, type ‘help’” and the port is listening.
  • Tried connecting using server ip address from Minecraft client.
  • Received “Connection refused: getsockopt.”

I am having the same issue with a modded server. Better MC. Everything is running and listening but when trying to connect to my tunnel or direct through IP address it will say “Connection refused: getsockopt” is there atopic that I’m missing?

Are you home hosting or is this a remote server?

I am hosting the server from a computer in my home

Are you able to connect using your internal IP address from another device on the same network?

I am not. It is giving me the same error when trying to direct connect as well.

That would suggest then that you’re connecting to the wrong place. What’s the output of ip addr on the host? Is the IP shown there what you’re connecting to?