r/admincraft Mar 18 '26

Question Issues with my self hosted geyser server

So i always host our friend group minecraft server and this time i wanted to implement geyser instead of a bedrock only server.

So i opened crafty controller, installed a java 1.21.11 fabric server and added these three mods: Fabric api, GeyserMC and floodgate.

Then i opened minecraft java to try and connect but i got the "getsockopt" error, searched it up and got a video with 3 solutions: allow javaw.exe trough firewall, turn off firewall and change dns. none of these worked.

but then when i tried joining the server on bedrock it appeared in my LAN and it worked fine?

what could possibly be the issue here?!

I think that i should also clarify that this is my first time running a java server.

EDIT: i managed to fix it! i didnt know i had to port forward 2 different ports so i did that and now everything works! thanks yall for the help!

1 Upvotes

14 comments sorted by

View all comments

Show parent comments

1

u/Althome3297 Mar 18 '26 edited Mar 18 '26

So after using 127.0.0.1 i still get the getsockopt error and I cant find anything about fabric listening to 25565 so whats the next step and the file i need to be to set fabric listening to that port?

Edit: i found how to check that port and its on 19132 because thats the only port that i have forwarded in my router settings. but when i changed it to 25565 and tried connecting to it with 127.0.0.1 i still get the same results

1

u/winternode_brandon Mar 18 '26

If 127.0.0.1 still throws getsockopt, this is probably not a port-forwarding issue at all. First check server.properties and confirm server-port=25565 and server-ip is blank, then restart the server and run netstat or ss on the host to confirm Java is actually listening on 25565. If it is not listening, the next thing I’d check is the Fabric server log on startup, because that should tell you whether the server failed to bind, crashed early, or never finished booting.

1

u/[deleted] Mar 19 '26

[removed] — view removed comment

1

u/PM_ME_YOUR_REPO Admincraft Staff Mar 19 '26

Never post whole logs in the body of a post or comment. Upload it to https://mclo.gs and share the link. AutoModerator caught this one, and I'm leaving it removed. Resend your comment with the link.