Minecraft others cant connect

Lucaz_70

Reputable
Mar 14, 2017
58
0
4,630
ive port forwarded everything correctally, my firewall isnt blocking anything, my specs r very good, but for some reason others cant connect
 
Solution
Open control panel and from there, windows defender firewall.
JG6LyCV.png

Click on "Allow an app or feature through windows defender firewall"
uDc8c74.png

click on "allow another app..."
Browse for your Javaw.exe exacutable.
Yes, the one inside your servers launch.bat If it just uses java.exe, it's relying on windows paths, in which case either 32 or 64 bit java is being used, which do you have installed?
Add that
click for both network types, public and private
click close
done.
run server
test if it works, it should.

Possible things you don't know:
What java am I using?
The one you have installed, it usually resides in:
C:\Program Files\Java\jre1.8.0_171\bin
or if it's 32 bit...

Lutfij

Titan
Moderator
List your specs like so:
CPU:
Motherboard:
Ram:
SSD/HDD:
GPU:
PSU:
Chassis:
OS:

Are you on the latest networking drivers for your system? How are you connected to the internet? Most routers come with a firewall that is enabled by default, see if disabling that changes your experience, provided you're connected via a router.
 

Lucaz_70

Reputable
Mar 14, 2017
58
0
4,630


https://www.acer.com/ac/en/US/content/predator-models/laptops/predatorhelios300 second one, and i am on the latest networking drivers, im not going ethernet, doesn't work,
 
Usually, no, pretty much always, if others cannot connect, it's a configuration issue.
There are three things to check:
Modem:
-Is it a modem or router/modem combo? if combo, it has most likely it's own NAT on by default thus needs to be configured to forward the desired ports.

Router:
-Are ports forwarded? your answer of "yes, they are" could mean "yes" but is it correct if it wont work?
-If router acts only as accesspoint (not default behaviour in 99% of routers) then you will have to disable NAT on it or you end up with double NAT which makes port forwarding a mess.
-Is router doing extra NAT for wireless or not?

Computer:
-Is firewall blocking things going in or out or possibly Java by default? (sometimes firewalls have disabled Java's server permissions due to it's often found security flaws, might need a checkbox somewhere)
minecraft settings, what is the port being used? If you use "open to LAN" button in single player, minecraft pretty much always uses different random port number each time.

And you can pretty much check if it works with https://www.yougetsignal.com/tools/open-ports/
click use current IP to change it to your external IP and... type in the port in use, bear in mind that while testing, server MUST be running or there is nothing answering and port will show up as closed even if forwarding is done correctly.

And that is pretty much only things that can be said until more information is provided. Mainly about the network setup and what is connected to what and their models if you need any help in what configurations to check on them.
 

Lucaz_70

Reputable
Mar 14, 2017
58
0
4,630


I think its a combo, how do i configure it?
 
find out router internal IP
type said IP to browser
log in
find port forwarding
find your computers IP
forward ports to said IP
done?

unless you have second router possibly also doing NAT.
tracert www.google.com (Assuming you don't have ipv6 on, if you have, use tracert -4 www.google.com instead)
first step is your routers internal IP
second should no longer be in 192.168.XXX.XXX but your ISP's own ip's.
IF second is also in 192.168.XX.XX range or 10.xx.xx.xx then you have double NAT and second router would need to be reconfigured also.

more specific instructions would need router/modem model so that directions can be googled/found.
 

Lucaz_70

Reputable
Mar 14, 2017
58
0
4,630


ive already done all this, but when i type in my ip onto google, it gives me an ipv6, tho if i go on a website like https://whatismyipaddress.com/ it gives me an ipv4
 
that is because you likely have both.
port forwarding works ONLY on ipv4, which is why you must use ipv4 ip's to do it. (you don't need to disable or do anything about ipv6)
the IP shown on google and that site are still external IP's that your friends will have to use to connect to your server.
past that, you don't usually have use for them.

so.. what is the problem? not finding your computers own IP address?
ipconfig will tell that (look at ipv4 address line)
 

Lucaz_70

Reputable
Mar 14, 2017
58
0
4,630


no ive portforwared everything correctly, but for some reason others cant join
 
so https://www.yougetsignal.com/tools/open-ports/ will list port 25565 as open? (assuming you didn't change it in settings, it's minecraft default)
If not, port forwarding or firewall is NOT set up correctly, simply because it doesn't work.

Remember, server should be running when testing that or said port will have nothing replying back and will show as closed.

I feel like I'm starting to sound like a broken record.
Is external IP shown on whatismyipaddress.com or yougetsignal.com same as your modem's external IP? (you can see it from webconfig)
If not, your ISP is doing it's own tricks and you will NOT be able to port forward.
 

Lucaz_70

Reputable
Mar 14, 2017
58
0
4,630


im able to get it 2 work on a mac, so im guessing its the firewall, but everuthing is unlocked so it should work, i just turned firewall completely off, and it still doesnt work
 
Possibilities:
The java on machine running the server is outdated (unlikely but still, default minecraft one is 1.80.51 while most recent is 1.80.171 or above)
The anti-virus/firewall may still block applications from accessing network, what firewall/antivirus you have? blocking access should usually cause JAVA to blurt out error messages.
Also if you are using windows 10 default firewall, disabling it will work only for like minute or two, it will re-launch itself after that unless some other firewall is present.
unless you do lot more trickery into disabling it permanently.

and for the record, I have almost no experience with windows default firewall but once what you have is specified, me or someone else might be able to google and/or figure it out.
 

Lucaz_70

Reputable
Mar 14, 2017
58
0
4,630


im using the default firewall, so idk anymore what to do, ill keep trying but idk if itll work
 
Just a question, are you running the server as separate process with java or from inside minecraft "open to LAN"
said question is important since "Open to LAN" will ALWAYS, each time, use different port.

In both cases, you need to allow javaw.exe in the used java to be allowed. (windows firewall does not add this automatically.)
If you allowed minecraft.exe, it doesn't matter, it just runs the Java.

so.. something like:
c:\program files(x86)\minecraft\runtime\jre-x64\1.8.0_51\bin\javaw.exe
or if you are using .jar and have Java installed separately...
C:\Program Files\Java\jre1.8.0_171\bin\javaw.exe

I tried it and adding that minecraft\runtime\stuff to allowed things in windows firewall allowed it to work for me. (if you use that open to LAN)
the latter will work (assuming you have same java version, folder name changes with version) if you use the .jar to run the standalone server.

Hopefully that helps, at least it allowed me to run server and connect to it with windows firewall being in use.

Edit:
Also, since you've not done this before, if you are joining your server from same computer (not the open to lan) then you need to use 127.0.0.1: portnumber
if you are joining from another computer in your house, you need to use 192.168.1.5: portnumber (or whatever the server computers IP is.
and from outside, your external IP: portnumber.
 
One quick way to test, try to connect to the port from another PC or laptop on your network. Either use minecraft and another account or open up a command prompt then type "telnet {your minecraft server IP address} 25565" (example "telnet 192.168.1.55 25565").

In windows 10 you may have to enable telnet since it's not enabled by default, or just use the powershell prompt will be the same test.

If it's able to connect from the other PC then the port forward should work once it's setup.
 

Lucaz_70

Reputable
Mar 14, 2017
58
0
4,630


ok i figured out what was wrong, but im not quite sure how to fix it, i can port forward another server like csgo, but when i go to port forward minecraft it doesnt work, with csgo, when i use a prefix it has lots of different rules, but there is no prefix for minecraft
c2QaET
https://ibb.co/c2QaET
 
that screenshot tells same thing as my earlier post, for minecraft you do NOT allow minecraft.exe or minecraftlauncher.exe
you allow the javaw.exe that runs the actual game.

said minecraft.exe just runs the java, which then does all the connecting/server stuff/running the game.
which Java? either the one you installed or the one in that the client pre-loaded.

Yes, said screenshot is from the router, I'm pretty sure, but for minecraft server stuff to work java must also be allowed through your computers firewall (the windows default) since for reasons, java is NOT automatically allowed to act as a server unlike most games.
 

Lucaz_70

Reputable
Mar 14, 2017
58
0
4,630


ok im very sorry, but what am i supposed to do?
 
Open control panel and from there, windows defender firewall.
JG6LyCV.png

Click on "Allow an app or feature through windows defender firewall"
uDc8c74.png

click on "allow another app..."
Browse for your Javaw.exe exacutable.
Yes, the one inside your servers launch.bat If it just uses java.exe, it's relying on windows paths, in which case either 32 or 64 bit java is being used, which do you have installed?
Add that
click for both network types, public and private
click close
done.
run server
test if it works, it should.

Possible things you don't know:
What java am I using?
The one you have installed, it usually resides in:
C:\Program Files\Java\jre1.8.0_171\bin
or if it's 32 bit version (no reason to use 32 bit version, really)
C:\Program Files(x86)\Java\jre1.8.0_171\bin
or if you never installed it and are using the one that came with default minecraft client: (not really useful since if you use "open to lan" from single player world, it will use different port each time as I mentioned earlier, making port forwarding a pain. Past this "open to LAN" you don't really need to allow it.)
C:\Program Files(x86)\Minecraft\runtime\jre-x64\1.8.0_51\bin\javaw.exe

jre version and thus folder path might be different for you.
 
Solution