#Twofold issues: Connection refused: getsockopt && "This server has mods that require Forge.... etc"

1 messages · Page 1 of 1 (latest)

cedar stratus
#

Wiki: Checked
Launcher: Prism
Modpack: BCG+
Modifications: No
Version: 2.3.1
Java version: 17
RAM allocation: Yes (>6GB)
Hosting: server pack on personal device (w/ DNAT)
Version mis/match: Client/Host are matched

Description: Trying to set this server up for a small group of friends, port 25565 is already taken by another pack so this one is configured to be running on 25566. router and firewall configs are surefire. Seen some of this getsockopt floating around for all game versions and all mod versions in the past ~~5 months. Wanted to see if anyone here has experienced this and if there are any work arounds (all .*java.*\.exe programs, OpenJDK/Adoptium/Sun or not already has all FW permissions)

Another player however is getting the error message: Failed to connect to the server. "This server has mods that require Forge to be installed on the client. Contact your server admin for more details." -- unfortunately I am the server admin and also an idiot 😢. I was under the distinct impression that this was a Fabric pack and as such have absolutely no idea how to even start addressing this error message.

Thanks a bunch for your help!

thin bobcat
#

Let’s start with getting you on the server.

#

Is this the same computer or a different computer than your client?

cedar stratus
#

good point: same computer is getting the "getsockopt" error

thin bobcat
#

ok, are you trying 127.0.0.1:25566?

cedar stratus
#

no I'm doing global:25566, haven't actually tried loopback:25566 yet... will check this

thin bobcat
#

You can try your private IP as well.

cedar stratus
#

BOTH loopback and NAT address works no problem

thin bobcat
#

ok so the issue is your port forwarding

#

this also makes me think your friend is trying to connect to your other server

cedar stratus
cedar stratus
thin bobcat
#

ok, let me see if I understand you, loop back and private IP you can connect right?

cedar stratus
#

correct

thin bobcat
#

but when you try to connect to your public address it is not working

cedar stratus
#

specifically when I do global:25566 I get the getsockopt error, and nothing else

#

just had my buddy double check and they DID do 25566 for the test, which is the correct port, and they're still getting the Forge error

thin bobcat
#

I mean you just proved your server and client are setup correctly

#

the issue sounds like it is in your router

cedar stratus
#

I have separate DNAT rules for both ports that are showing green on tests, any chance I did something silly in the server.properties file? I only changed the server-port= entry and nothing else, is that correct or am I missing a step?

thin bobcat
#

I cant say what the issue is with your router since the port forwarding will be different based on model but ignoring WAN issue you are able to connect internally within your network.

#

but if your friend is trying to connect to you and it is telling them it is on forge then it sounds like your router is forwarding traffic going to port 25566 to 25565

cedar stratus
#

I hadn't properly configured my hairpin NAT for outbound, as of right now i can connect using global:25566 after configuring hairpin NAT, will update when others try the same 👍 tyvm @thin bobcat

thin bobcat
#

Any time! Have fun!

cedar stratus
#

closing the thread, external players can all connect fine. Thanks again!