#Cant connect to server: getsockopt
1 messages · Page 1 of 1 (latest)
you are missing:
- which server
- logs
- any error message
it's my mates server, i can get a log for you later if that's cool? im able to connect to the other servers that come with, just not my mates. it says- connection timed out: getsockopt
Server is: Craftoria-1.21
and logs?
did you start up ur game and then close it right away
no, i started it. tried connecting to my mates server a few times and it kept saying i couldn't. tried direct connection and that didnt work
i closed it once i tried a few times
"getsockopt happens when your network is not allowing connection to the server or the connection fails" - ling
are you able to join any other servers like the official ones?
i see, im able to join others. i found a random public one and that worked just not my mates
Just something from my side as its my server, there has been no connection attempt on my logs in the server
is it just you two or is there others that try?
may i try to join? if i cant, it may be a host problem
i have a group of about 8 people in total and unfortanlty he is just unable to join
hmm
i will dm you ip if you would like to attempt a join
i mean, if others can join, then it may not be a host problem
i was gonna try if it was only them trying to join aside from you, but its not so me tryin wont do much
im unsure how this even came about, he was able to join my servers pervously and the last fews days its as is if ever is isp or his pc just said no
did any of you update instances? or was it just a straight up random thing
how are you doing the ip?
i ran though trouble shooting with him, incase some how a sneeky windows update came in out of no where but eveything still nothing
is it a domain or direct ip?
hes attempted both

sadly im no networking guru, networking one of the things i the most clueless about and i really wish i wasnt 😆
i have some knowlage in it but still very limited and that wasnt any help
i mean another thing im reading could be that like... you know how some applications (MC for example) ask "let this application through firewall) or whatever idk, maybe somehow that got reverted to a deny? 
well actually no.. cause it'd break for others...
honestly im out of ideas, the neoforge discord may be a little better help (they're all nerds, in the best way possible)
i love that xD
i know there's some people there that know a little too much about networking
oh boy
ill go see if i can get any luck over there with them, i just feel bad for him man, he just wants to play with his mates xD
i'd hit up the user-support channel and hope someone responds. depending on timing, rn may not be the best time, due to it being like, a bad time in the US, so a bit dead rn
like its 4am for me rn, i gotta hit the sack
get to sleep sunshine gosh xD
😆
i been goin to bed around this time for like the past week
its kinda my sleep sched now
mhm, hope you guys can get it figured out
Thank you ! Appreciate the help guys XD
I have this Error since today.
This is displayed on the Log:
[15Mar2025 12:41:35.335] [Server Pinger #1/ERROR][net.minecraft.client.multiplayer.ServerStatusPinger/]: Can't ping eu7744567.g-portal.game: Unknown host
[15Mar2025 12:41:36.335] [Server Pinger #0/ERROR][net.minecraft.client.multiplayer.ServerStatusPinger/]: Can't ping craftoria-na.modded.fun: Unknown host
[15Mar2025 12:41:37.335] [Server Pinger #2/ERROR][net.minecraft.client.multiplayer.ServerStatusPinger/]: Can't ping craftoria-eu2.modded.fun: Unknown host
[15Mar2025 12:41:38.336] [Server Pinger #4/ERROR][net.minecraft.client.multiplayer.ServerStatusPinger/]: Can't ping craftoriaeu1.aoe-labs.com: Unknown host
I can only connect to EU1 and NA.
On the other two Servers i get this Error Message:
Failed to connect: Connection refused: getsockopt
Any known issues since today?
This is the Log as i tried to connect:
[15Mar2025 12:49:00.831] [Server Connector #2/ERROR][net.minecraft.client.gui.screens.ConnectScreen/]: Couldn't connect to server
io.netty.channel.AbstractChannel$AnnotatedConnectException: Connection refused: getsockopt: eu7744567.g-portal.game./38.242.198.7:30965
Caused by: java.net.ConnectException: Connection refused: getsockopt
at java.base/sun.nio.ch.Net.pollConnect(Native Method) ~[?:?]
at java.base/sun.nio.ch.Net.pollConnectNow(Net.java:682) ~[?:?]
at java.base/sun.nio.ch.SocketChannelImpl.finishConnect(SocketChannelImpl.java:973) ~[?:?]
at MC-BOOTSTRAP/[email protected]/io.netty.channel.socket.nio.NioSocketChannel.doFinishConnect(NioSocketChannel.java:337) ~[netty-transport-4.1.97.Final.jar%23154!/:4.1.97.Final]
at MC-BOOTSTRAP/[email protected]/io.netty.channel.nio.AbstractNioChannel$AbstractNioUnsafe.finishConnect(AbstractNioChannel.java:334) ~[netty-transport-4.1.97.Final.jar%23154!/:4.1.97.Final]
at MC-BOOTSTRAP/[email protected]/io.netty.channel.nio.NioEventLoop.processSelectedKey(NioEventLoop.java:776) ~[netty-transport-4.1.97.Final.jar%23154!/:4.1.97.Final]
at MC-BOOTSTRAP/[email protected]/io.netty.channel.nio.NioEventLoop.processSelectedKeysOptimized(NioEventLoop.java:724) ~[netty-transport-4.1.97.Final.jar%23154!/:4.1.97.Final]
at MC-BOOTSTRAP/[email protected]/io.netty.channel.nio.NioEventLoop.processSelectedKeys(NioEventLoop.java:650) ~[netty-transport-4.1.97.Final.jar%23154!/:4.1.97.Final]
at MC-BOOTSTRAP/[email protected]/io.netty.channel.nio.NioEventLoop.run(NioEventLoop.java:562) ~[netty-transport-4.1.97.Final.jar%23154!/:4.1.97.Final]
at MC-BOOTSTRAP/[email protected]/io.netty.util.concurrent.SingleThreadEventExecutor$4.run(SingleThreadEventExecutor.java:997) ~[netty-common-4.1.97.Final.jar%23149!/:4.1.97.Final]
at MC-BOOTSTRAP/[email protected]/io.netty.util.internal.ThreadExecutorMap$2.run(ThreadExecutorMap.java:74) ~[netty-common-4.1.97.Final.jar%23149!/:4.1.97.Final]
at java.base/java.lang.Thread.run(Thread.java:1583) ~[?:?]
Does anyone know a solution to this Error?