so earlier today i tried setting up a server, downloaded the server.jar, started it, edited the eula to true, then started it again to get the rest of the files and folders, exited the server, i then edited Server Properties . i then forwarded my port. used ipconfig in cmd to find my local port, IPv4 address 169.168.0.2
i edited port forward to be 25565 (both inbound and out bound) it also had local port, so i made it the same there as well, i used both tcp and udp as the format and made the ip address to match my local ip.
with that i used canyouseeme.org to make sure my port forward was working, and it passed.
after that, i checked minecraft and made sure my local network worked, as in, i loaded up minecraft on my home network, went to multiplayer and put in my external address and it worked,
thats when it stopped working, outside my network, say at a friends, it wont connect to my server, ive left my server running on this pc of course and made sure both minecraft and java had network access and it does, so im not sure what is wrong, the error message just says, unable to connect
The most likely problem is your ISP limiting client connections from outside your LAN. Hopefully you have a modem and not a modem/router hybrid, those could still cause some issues which require either bridging or DMZ.
Also, make sure you're using the WAN IP to connect from the outside, if you already did that then disregard this.
If you're connecting from another computer on the same LAN and it doesn't connect, that would most likely be a firewall issue if everything else is right.
That still sounds like it could be your ISP limiting client connections--if you're able to ping your port from an external site but not be able to connect to your server from externally.
yea, i was able to connect on the same lan, i made a mistake before, i forgot to turn on my server. as for outside my lan, im still having trouble with that. you mentioned that if i have a hybrid router, that it might be my problem? i am using my wan ip, i got it from https://whatismyipaddress.com/
so i ping'd my external ip address and it wont ping (using an app on my phone, not wifi) i tested it with google.ca to make sure it was working, but my external ip isnt going through
I've had some bad experiences with hybrid routers but usually it's on setups where I had it connected to another router. It's less likely a firewall, but it's also possible, disable your firewall for testing and if that works try add an exception for Java.exe.
Okay, then we know it's some firewall/protocol restriction somewhere. I'm not too knowledgeable on that, but you'll have to figure and test that out. Good luck!
so earlier today i tried setting up a server, downloaded the server.jar, started it, edited the eula to true, then started it again to get the rest of the files and folders, exited the server, i then edited Server Properties . i then forwarded my port. used ipconfig in cmd to find my local port, IPv4 address 169.168.0.2
i edited port forward to be 25565 (both inbound and out bound) it also had local port, so i made it the same there as well, i used both tcp and udp as the format and made the ip address to match my local ip.
with that i used canyouseeme.org to make sure my port forward was working, and it passed.
after that, i checked minecraft and made sure my local network worked, as in, i loaded up minecraft on my home network, went to multiplayer and put in my external address and it worked,
thats when it stopped working, outside my network, say at a friends, it wont connect to my server, ive left my server running on this pc of course and made sure both minecraft and java had network access and it does, so im not sure what is wrong, the error message just says, unable to connect
The most likely problem is your ISP limiting client connections from outside your LAN. Hopefully you have a modem and not a modem/router hybrid, those could still cause some issues which require either bridging or DMZ.
Also, make sure you're using the WAN IP to connect from the outside, if you already did that then disregard this.
its a modem/router, as for my local network, i tried on another pc and it didnt work....connection timed out
Is that other PC outside your LAN or within it? And are they all on the same subnet?
yea, oops, i came back to my pc and the server wasn't running, and yea, the other pc is inside my lan, outside, i still have troubles
If you're connecting from another computer on the same LAN and it doesn't connect, that would most likely be a firewall issue if everything else is right.
That still sounds like it could be your ISP limiting client connections--if you're able to ping your port from an external site but not be able to connect to your server from externally.
yea, i was able to connect on the same lan, i made a mistake before, i forgot to turn on my server. as for outside my lan, im still having trouble with that. you mentioned that if i have a hybrid router, that it might be my problem? i am using my wan ip, i got it from https://whatismyipaddress.com/
so i ping'd my external ip address and it wont ping (using an app on my phone, not wifi) i tested it with google.ca to make sure it was working, but my external ip isnt going through
I've had some bad experiences with hybrid routers but usually it's on setups where I had it connected to another router. It's less likely a firewall, but it's also possible, disable your firewall for testing and if that works try add an exception for Java.exe.
another update, my router had ping blocking enabled, so i stopped that and now i can ping my ip address. ill check with the firewall and report back
hey wait! that worked, turning that feature off in my router settings, allowed people outside my network to connect to my server
Okay, then we know it's some firewall/protocol restriction somewhere. I'm not too knowledgeable on that, but you'll have to figure and test that out. Good luck!