I've recently been trying to port-forward a vanilla server and have been met with less-than-pleasing results.
I'll start from the beginning and describe all the steps I've taken:
>I began with a blank Windows PC. I hooked it up with Ethernet and installed the basic necessities like Java, Minecraft, and the server jar.
>I gave all the programs a first-run to make sure that the various files got installed and downloaded and such.
>I popped open the command prompt and checked the ipconfig info; I wrote down what I knew I needed: internal IPv4, gateway, DNS servers, and subnet mask.
>I went to the Ethernet configuration window and set my internal IP to static. I'm certain it was done correctly because all internet connection works fine.
>I brought up the router configuration page in my browser and created a port forwarding rule to send all TCP/UDP traffic between 25565 and 25565 to the internal IP of the server computer. I left the IPv6 box as zeroes, in case it matters.
>I checked the server.properties file to make sure the port in use was 25565 and that the ip line was blank.
>I booted up both the Minecraft client and server on the PC and tested connection with the internal IP (worked of course) and the external IP (also worked.)
>I then moved to a different computer on the same network and tested the same IP addresses. The internal IP didn't do anything, but the external IP worked fine, as expected.
>Lastly, I moved to a laptop that was connected to 'xfinitywifi' instead of my home network/wifi. When I plugged in the external IP and tried to connect, I was met with a whole lot of nothin'.
I didn't expect a flawless first try, but I didn't expect that my second, third, fourth, and all other tries would also be complete failures. This is what I've done since in fruitless attempts to remedy my issue:
I have:
-Disabled router firewalls for IPv4 (then re-enabled after it failed).
-Disabled Windows Defender firewalls and antivirus (then re-enabled after it failed).
-Disabled both firewalls at once (then re-enabled after yet another miserable failure).
My back began hurting, so I stopped and ate some food. It was good food. I should move on.
-Changed which port was forwarded and which was set in the server properties. (I got the same results as before, where computers in the network connected fine to the external IP:PORT, but the laptop didn't)
-Checked "canyouseeme.org" (It gave me a green light, but still couldn't connect from outside network.)
-Consulted numerous existing threads.
-Tried a different game, like Terraria (same results as before, where computers were fine but the laptop let me down).
-Tried using DMZ. Sin suerte, alas.
-Tried to write a detailed thread (but my browser crashed and I had to restart, with less detail.)
This is what I'm confident in:
My IP is static.
The server.properties are properly set.
I have the correct external and internal IP addresses.
Websites are able to ping the port.
The port-forward worked because I can connect using EXTERNALIP:PORT (while connected to the network).
The same laptop can connect if it is on the network.
I'm at a loss right now on what to do. I've tried everything I can think of, and I've gotten someone else to give a swing at it to. Nothing seems to be working. No fixes online have done the trick yet.
Please help. I will give three bottles of ASCII pringles to anyone who resolves my terrible woes. I'll try to give whatever information is needed (within reason) for the sake of a solution.
>I then moved to a different computer on the same network and tested the same IP addresses. The internal IP didn't do anything, but the external IP worked fine, as expected.
I don't understand why your private IP on the same network didn't do anything. That should be the one that always works, assuming a firewall whitelist and your two computers (and the gateway I guess, since you have an Internet connection) are within the same subnet (and no switching configuration are in place).
-Checked "canyouseeme.org" (It gave me a green light, but still couldn't connect from outside network.)
If canyouseeme org can create a TCP connection through your router and to your server computer, that usually is the end of the story. Maybe it's a problem on the xinfinity end? Perhaps it restricts traffic to port 25565?
And I can't tell you the times I've started writing a detailed message only to accidentally navigate away from the page. Use notepad(++) or even Word (haha).
What kind of errors are you getting? A connection refused generally means you tried to connect to a server that isn't running and firewall rules are working, and a connection timed out means the firewall (computer or router) ignored a connection attempt.
When I try to connect to the "Can't connect to the server" server option, I eventually get the error message "io.netty.channel.AbstractChannel$AnnotatedConnectException", followed by "Connection timed out: no further information".
I should like to add a few details to what I've discovered since the original post:
-Dinnerbone.com reads the server fine and spits back my MOTD and player count.
-Attempting to port forward a website with :80 and the Windows IIS program works fine when using any computer, or a phone on data.
My only assumption at this point is that it is something personal: Xfinity, or some other firewall, has a grudge against Minecraft or Java in general.
I've recently been trying to port-forward a vanilla server and have been met with less-than-pleasing results.
I'll start from the beginning and describe all the steps I've taken:
>I began with a blank Windows PC. I hooked it up with Ethernet and installed the basic necessities like Java, Minecraft, and the server jar.
>I gave all the programs a first-run to make sure that the various files got installed and downloaded and such.
>I popped open the command prompt and checked the ipconfig info; I wrote down what I knew I needed: internal IPv4, gateway, DNS servers, and subnet mask.
>I went to the Ethernet configuration window and set my internal IP to static. I'm certain it was done correctly because all internet connection works fine.
>I brought up the router configuration page in my browser and created a port forwarding rule to send all TCP/UDP traffic between 25565 and 25565 to the internal IP of the server computer. I left the IPv6 box as zeroes, in case it matters.
>I checked the server.properties file to make sure the port in use was 25565 and that the ip line was blank.
>I booted up both the Minecraft client and server on the PC and tested connection with the internal IP (worked of course) and the external IP (also worked.)
>I then moved to a different computer on the same network and tested the same IP addresses. The internal IP didn't do anything, but the external IP worked fine, as expected.
>Lastly, I moved to a laptop that was connected to 'xfinitywifi' instead of my home network/wifi. When I plugged in the external IP and tried to connect, I was met with a whole lot of nothin'.
I didn't expect a flawless first try, but I didn't expect that my second, third, fourth, and all other tries would also be complete failures. This is what I've done since in fruitless attempts to remedy my issue:
I have:
-Disabled router firewalls for IPv4 (then re-enabled after it failed).
-Disabled Windows Defender firewalls and antivirus (then re-enabled after it failed).
-Disabled both firewalls at once (then re-enabled after yet another miserable failure).
My back began hurting, so I stopped and ate some food. It was good food. I should move on.
-Changed which port was forwarded and which was set in the server properties. (I got the same results as before, where computers in the network connected fine to the external IP:PORT, but the laptop didn't)
-Checked "canyouseeme.org" (It gave me a green light, but still couldn't connect from outside network.)
-Consulted numerous existing threads.
-Tried a different game, like Terraria (same results as before, where computers were fine but the laptop let me down).
-Tried using DMZ. Sin suerte, alas.
-Tried to write a detailed thread (but my browser crashed and I had to restart, with less detail.)
This is what I'm confident in:
My IP is static.
The server.properties are properly set.
I have the correct external and internal IP addresses.
Websites are able to ping the port.
The port-forward worked because I can connect using EXTERNALIP:PORT (while connected to the network).
The same laptop can connect if it is on the network.
I'm at a loss right now on what to do. I've tried everything I can think of, and I've gotten someone else to give a swing at it to. Nothing seems to be working. No fixes online have done the trick yet.
Please help. I will give three bottles of ASCII pringles to anyone who resolves my terrible woes. I'll try to give whatever information is needed (within reason) for the sake of a solution.
I don't understand why your private IP on the same network didn't do anything. That should be the one that always works, assuming a firewall whitelist and your two computers (and the gateway I guess, since you have an Internet connection) are within the same subnet (and no switching configuration are in place).
If canyouseeme org can create a TCP connection through your router and to your server computer, that usually is the end of the story. Maybe it's a problem on the xinfinity end? Perhaps it restricts traffic to port 25565?
And I can't tell you the times I've started writing a detailed message only to accidentally navigate away from the page. Use notepad(++) or even Word (haha).
What kind of errors are you getting? A connection refused generally means you tried to connect to a server that isn't running and firewall rules are working, and a connection timed out means the firewall (computer or router) ignored a connection attempt.
When I try to connect to the "Can't connect to the server" server option, I eventually get the error message "io.netty.channel.AbstractChannel$AnnotatedConnectException", followed by "Connection timed out: no further information".
I should like to add a few details to what I've discovered since the original post:
-Dinnerbone.com reads the server fine and spits back my MOTD and player count.
-Attempting to port forward a website with :80 and the Windows IIS program works fine when using any computer, or a phone on data.
My only assumption at this point is that it is something personal: Xfinity, or some other firewall, has a grudge against Minecraft or Java in general.