[SOLVED] Impossible to open port 25565

Aug 10, 2019
4
0
10
I am trying to open port 25565, my router is a Motorola MG7540. My IP Address is static, my firewalls are off, my avast shields are down, nothing is listening to the port, enabling DMZ has no effect, having the program open has no effect, turning off router firewalls has no effect, and my ISP doesn't block any ports. However, on every online checker port 25565 is closed. What am I doing wrong?

http://prntscr.com/or2wg3

http://prntscr.com/or2xjh
 
Solution
@djycm Hold up ... you connect for a couple of seconds? If you can connect at all then it is unlikely that this is a networking issue (unless we are talking about anti-spam/DDOS attack protocol kicking in). Please confirm that you can connect, but only for a couple seconds.

So a quick tutorial on NAT (Network Address Translation) ... NAT was devolved so multiple computers can use 1 public IP address to access the internet. It works great if all you want to do is start connection (access a webpage, check email, etc ... 99% of what people do). The problem is when someone wants to connect to you. Yes, they have a public IP address, but that address is really for your router, not your computer. When someone sends a request for...
You have to port forward that port to your computer so the router knows what to do with the request.

How do I do this? The address I put in the forwarding rule is the ipv4 that displays when I run ipconfig, is there another address I should be using to add a rule to forward to my computer?
 
@djycm Based on your screen shot, the computer you are running the minecraft server on is 192.168.0.12. So, you need a port forwarding rule on your router that when any computer that sends a request to port 25565 it should be forwarded to 192.168.0.12.

Your manual is here :http://www.motorolacable.com/documents/MG7540-UserManual.pdf

**EDIT ... BTW, if your minecraft server is not running, then nothing is going to respond to the request. If the requesting server gets no response, then it reports a timed-out. If your server (minecraft or other) gets a malformed request, it may respond with a deny which would be reported as a closed port ... thus, the networking part might be working, but request is not in the right format. Have you tried having a friend connect to your server? Have you tried connecting to your server from inside your network to ensure it is working properly?
 
Last edited:
  • Like
Reactions: digitalgriffin
@anotherdrew It's a minecraft realm, so it's up 24/7. I followed the manual exactly, the port forwarding rule looks exactly the same as what I already did (http://prntscr.com/orarii (manual) and http://prntscr.com/or2wg3 (my router)), I also followed the additional steps described in the manual (enabling UPnP and turning off the router firewall), and I still cannot connect for more than a couple seconds before timing out.

I still don't understand what you mean by "a port forwarding rule on your router that when any computer that sends a request to port 25565 it should be forwarded to 192.168.0.12", isn't that what I already did? Or is there another step that I'm missing?
 
@djycm Hold up ... you connect for a couple of seconds? If you can connect at all then it is unlikely that this is a networking issue (unless we are talking about anti-spam/DDOS attack protocol kicking in). Please confirm that you can connect, but only for a couple seconds.

So a quick tutorial on NAT (Network Address Translation) ... NAT was devolved so multiple computers can use 1 public IP address to access the internet. It works great if all you want to do is start connection (access a webpage, check email, etc ... 99% of what people do). The problem is when someone wants to connect to you. Yes, they have a public IP address, but that address is really for your router, not your computer. When someone sends a request for connection to your public IP address your router looks at the request and determines what to do. If it is request the router can handle (like ping) then the route responds (or doesn't, depending on settings). I it is a request the router does not know what to do with it either drops (ignores) the request (which results in a time out) or sends a deny reply (port closed). All this depends on settings. In the routers default state it would not know what to do with a request to port 25565, so it would drop the request or send a deny. If you give the router a rule on how to handle the request, then it will follow that rule (in this case a port forwarding rule).

So, in your case specifically. It seems you are running your server on 192.168.0.12 based on your first screen shot. That's fine. The port forward rule you have setup looks fine (I didn't see you say you had setup port forward, but you screen shot shows you did). Your seconds screen shot shows the port scan. Most requests are timing out, which probably is because your router is set to drop a request it does not know what to do with. The minecraft request, on the other hand, shows "closed", which means the requesting computer got a deny message. The question is was it your router or your minecraft server that sent the deny. I suspect it was your minecraft server. It could be a firewall on the router or the server (unlikely, you say the firewalls are off). It could be other software (again unlikely, you say your disabled your security software). Or it could be the minecraft server itself that denied the request (wrong format or something).
 
Solution
Hold up ... you connect for a couple of seconds? If you can connect at all then it is unlikely that this is a networking issue (unless we are talking about anti-spam/DDOS attack protocol kicking in). Please confirm that you can connect, but only for a couple seconds.

Yep, I'm able to interact with the game for a couple of seconds before inevitably timing out. I'm going to be contacting their support for assistance as apparently Realms can attempt to go through different ports besides 25565, and as you said it's most likely not an issue with what I've done so far. I really appreciate your help, thanks for everything!
 
I may have misunderstood something. Minecraft Realms servers are ones hosted by Microsoft and you rent, correct. I thought you were talking a server that was running in your house, which seems not to be the case. The only time you have to do port forwarding is when someone is trying to connect to you. If you are connecting to a server out on the internet, then port forwarding is not required.
 
  • Like
Reactions: digitalgriffin

TRENDING THREADS