Friend unable to join server "Connection timed out"

I started a server on my laptop using the server.JAR file the Mojang supplies, for Java 1.19.4. I've gone through all the port forwarding, and IP address hunting to make sure that I've got all the correct information to give to my friends and family members. However, during testing to make sure it actually works. Everyone other than myself were not able to connect due to the "connection timed out" error. Could someone please help me sort it out?? KEY INFORMATION: - MC Java version 1.19.4 (I personally am running Sodium-fabric) - Server being hosted on my laptop - I'm connecting to the server via my PC. NOT my laptop - Every other member of the server is also on PC, with some running Optifine, others running Fabric and some pure vanilla. - There are no mods or data packs, and we are not planning on adding them to the server Thank you in advance!! - Simplic1ty
16 Replies
Admincraft Meta
Thanks for asking your question!
Make sure to provide as much helpful information as possible such as logs/what you tried and what your exact issue is
Make sure to mark solved when issue is solved!!!
/close !close !solved !answered
Requested by .simplic1ty#0
Zaid
Zaid2y ago
did you give your friends your public ip? you cant join your own server via public ip fyi
Apollo
ApolloOP2y ago
I think so...? I did Ipconfig within the Command Promt, and gave them my IPv4 address
Zaid
Zaid2y ago
no that's your local address https://www.ipchicken.com if all port forward done correctly, give them the ip yous ee in this page and they should be able to connect
Apollo
ApolloOP2y ago
The remote port on that website is also different to the one I have set up. Do I need to change my current one to the one on the site??
snowznz.bak
snowznz.bak2y ago
Remote port? Just give them the ip as long as the port is 25565
Apollo
ApolloOP2y ago
No description
Zaid
Zaid2y ago
ignore that youre just looking for ip as long as your port is 25565 they just need ip to connect
Apollo
ApolloOP2y ago
Okay, ty! Does that also mean that I'll need to change the port forward IP too?
Zaid
Zaid2y ago
no just give them your public ip thsts it
Apollo
ApolloOP2y ago
Server won't start at all now :/
---- Minecraft Crash Report ---- // Don't do that. Time: 2023-07-18 16:17:41 Description: Exception in server tick loop java.lang.IllegalStateException: Failed to initialize server at net.minecraft.server.MinecraftServer.w(SourceFile:688) at net.minecraft.server.MinecraftServer.a(SourceFile:266) at java.base/java.lang.Thread.run(Thread.java:1589) A detailed walkthrough of the error, its code path and all known details is as follows:
Could the error above have something to do with an incorrect Port Forward??
Zaid
Zaid2y ago
? what did you do you were supposed to just give your friends your public ip not change whatever you changed @Apollo
Apollo
ApolloOP2y ago
Ohhhh, okayyyy. I changed the server ip within the server configurations. I'll chagne that back and see how it goes
Zaid
Zaid2y ago
you leave that empty and keep port 25565 then all you have to do is start server go on that website I sent u it shows you what ur public ip is copy that and send them to ur friends
Apollo
ApolloOP2y ago
Works now! Ty for the help!!! !solved
Admincraft Meta
post closed!
The post/thread has been closed!
Requested by .simplic1ty#0

Did you find this page helpful?