Jump to content

Minecraft server firewall port forward issue...

Quarke

I am currently running a Minecraft server network on a computer with ports 25565, 25504, and 25563. I can join the server from the ipv4 address on the computer but, with all the necessary ports enabled (Inbound & Outbound) I can't connect from other computers. I have tried uninstalling my security software and disabling the windows firewall.

Link to comment
Share on other sites

Link to post
Share on other sites

4 minutes ago, Quarke said:

I am currently running a Minecraft server network on a computer with ports 25565, 25504, and 25563. I can join the server from the ipv4 address on the computer but, with all the necessary ports enabled (Inbound & Outbound) I can't connect from other computers. I have tried uninstalling my security software and disabling the windows firewall.

Is the computer that you can't join on the same local network?

 

 

 

 

 

Quote

CPU-AMD Ryzen 9 5900X / CPU Cooler-Noctua NH-D15S / Motherboard-MSI MPG X570S CARBON MAX WIFI / Memory-G.Skill Trident Z Neo 64 GB (4 x 16 GB) DDR4-3600 CL16 / Storage-WD WDBSLA0040HNC-NRSN 4TB 3.5" 7200 RPM / Storage-WD Red 6 TB 3.5" 5400 RPM--Crucial P3 4TB 3.0X4 NVME--Sabrent Rocket 4.0 1TB 4.0X4 NVME--Corsair MP600 CORE 2TB 4.0X4 NVME / Video Card-XFX Radeon RX 6900 XT / Case-Lian Li O11 Air Mini / PSU-SeaSonic PRIME 1000 W 80+ Gold / Sound Card-Creative Labs Sound Blaster Z w/Shield / Monitor-BenQ GW2765HT 27.0" 2560 x 1440 60 Hz / Monitor-Asus ROG Strix XG27AQ 27.0" 2560 x 1440 170 Hz / Keyboard-Logitech G Pro / Mouse-Logitech G502 LIGHTSPEED Wireless / UPS-CyberPower GX1325U / Fan Controller-Corsair Commander Pro

Quote

CPU-AMD Ryzen 7 5800X / CPU Cooler-Corsair iCUE H100i ELITE CAPELLIX / Motherboard-Asus TUF GAMING X570-PRO (WI-FI) / MemoryG.Skill Trident Z Neo 32 GB (4 x 8 GB) DDR4-3600 CL16 / Storage-Western Digital Black SN750 SE 1TB 4.0X4 NVME--Samsung 970 Evo Plus 2TB 3.0X4 NVME--Seagate Barracuda Compute 3 TB 3.5" 5400 RPM / Video Card-Asus KO Gaming OC GeForce RTX 3070 / Case-Lian Li O11 Air Mini / Case-LIAN LI PCI-E 16 X 4.0 Black Riser / PSU-EVGA SuperNOVA 850 G+ Gold / Monitor-LG 22BK430H-B 21.5" 1920 x 1080 60 Hz / Monitor-MSI Optix 271CQP 27.0" 2560 x 1440 165 Hz Curved / Keyboard-Logitech G413 TKL SE / Mouse-Logitech G502 HERO Wired / UPS-CyberPower CP1350PFCLCD / Fan Controller-Corsair  Commander Pro / Sony HT-S200F Soundbar

Quote

CPU-AMD Ryzen 7 5700X / CPU Cooler-Scythe Mugen 5 Black Edition / Motherboard-MSI MPG B550I GAMING EDGE MAX WIFI / Memory-G.Skill Trident Z Neo 32 GB (2 x 16 GB) DDR4-3600 CL16 / Storage-Samsung 970 Evo Plus 1TB 3.0X4 NVME--PNY CS900 1TB 2.5" SSD--Samsung 970 Evo Plus 2TB NVME/ Video Card-EVGA XC GAMING GeForce RTX 3060 / Case-Cooler NR200P / PSU-Cooler Master V750 SFX GOLD / Keyboard-HyperX Alloy Origins Core / Mouse-Logitech G502 HERO Wired / UPS-CyberPower LE1000DG-FC / Fan Controller-NZXT RGB & Fan Controller

Quote

CPU-AMD Ryzen 7 5700G / CPU Cooler-Scythe Shuriken 2 / Motherboard-Gigabyte X570 I AORUS PRO WIFI / Memory-Corsair Vengeance LPX 32 GB (2 x 16 GB) DDR4-3800 CL18 / Storage-WD Blue 1TB 2.5" SSD--Samsung 970 Evo Plus 1TB 3.0X4 NVME--Patriot P310 1.92TB 3.0X4 NVME / Case-InWin B1 Mesh / Keyboard-Logitech K380 / Mouse-Logitech G502 LIGHTSPEED Wireless / Monitor-ViewSonic VX1755 17" 1080p Portable IPS Gaming Monitor 144Hz / Speakers-Creative Muvo Go (Black)

 

Link to comment
Share on other sites

Link to post
Share on other sites

3 minutes ago, wONKEyeYEs said:

Is the computer that you can't join on the same local network?

yes

Link to comment
Share on other sites

Link to post
Share on other sites

2 minutes ago, Quarke said:

yes

The you used the IPv4 address that looks like 10.0.0.xxx?

 

 

 

 

 

 

Quote

CPU-AMD Ryzen 9 5900X / CPU Cooler-Noctua NH-D15S / Motherboard-MSI MPG X570S CARBON MAX WIFI / Memory-G.Skill Trident Z Neo 64 GB (4 x 16 GB) DDR4-3600 CL16 / Storage-WD WDBSLA0040HNC-NRSN 4TB 3.5" 7200 RPM / Storage-WD Red 6 TB 3.5" 5400 RPM--Crucial P3 4TB 3.0X4 NVME--Sabrent Rocket 4.0 1TB 4.0X4 NVME--Corsair MP600 CORE 2TB 4.0X4 NVME / Video Card-XFX Radeon RX 6900 XT / Case-Lian Li O11 Air Mini / PSU-SeaSonic PRIME 1000 W 80+ Gold / Sound Card-Creative Labs Sound Blaster Z w/Shield / Monitor-BenQ GW2765HT 27.0" 2560 x 1440 60 Hz / Monitor-Asus ROG Strix XG27AQ 27.0" 2560 x 1440 170 Hz / Keyboard-Logitech G Pro / Mouse-Logitech G502 LIGHTSPEED Wireless / UPS-CyberPower GX1325U / Fan Controller-Corsair Commander Pro

Quote

CPU-AMD Ryzen 7 5800X / CPU Cooler-Corsair iCUE H100i ELITE CAPELLIX / Motherboard-Asus TUF GAMING X570-PRO (WI-FI) / MemoryG.Skill Trident Z Neo 32 GB (4 x 8 GB) DDR4-3600 CL16 / Storage-Western Digital Black SN750 SE 1TB 4.0X4 NVME--Samsung 970 Evo Plus 2TB 3.0X4 NVME--Seagate Barracuda Compute 3 TB 3.5" 5400 RPM / Video Card-Asus KO Gaming OC GeForce RTX 3070 / Case-Lian Li O11 Air Mini / Case-LIAN LI PCI-E 16 X 4.0 Black Riser / PSU-EVGA SuperNOVA 850 G+ Gold / Monitor-LG 22BK430H-B 21.5" 1920 x 1080 60 Hz / Monitor-MSI Optix 271CQP 27.0" 2560 x 1440 165 Hz Curved / Keyboard-Logitech G413 TKL SE / Mouse-Logitech G502 HERO Wired / UPS-CyberPower CP1350PFCLCD / Fan Controller-Corsair  Commander Pro / Sony HT-S200F Soundbar

Quote

CPU-AMD Ryzen 7 5700X / CPU Cooler-Scythe Mugen 5 Black Edition / Motherboard-MSI MPG B550I GAMING EDGE MAX WIFI / Memory-G.Skill Trident Z Neo 32 GB (2 x 16 GB) DDR4-3600 CL16 / Storage-Samsung 970 Evo Plus 1TB 3.0X4 NVME--PNY CS900 1TB 2.5" SSD--Samsung 970 Evo Plus 2TB NVME/ Video Card-EVGA XC GAMING GeForce RTX 3060 / Case-Cooler NR200P / PSU-Cooler Master V750 SFX GOLD / Keyboard-HyperX Alloy Origins Core / Mouse-Logitech G502 HERO Wired / UPS-CyberPower LE1000DG-FC / Fan Controller-NZXT RGB & Fan Controller

Quote

CPU-AMD Ryzen 7 5700G / CPU Cooler-Scythe Shuriken 2 / Motherboard-Gigabyte X570 I AORUS PRO WIFI / Memory-Corsair Vengeance LPX 32 GB (2 x 16 GB) DDR4-3800 CL18 / Storage-WD Blue 1TB 2.5" SSD--Samsung 970 Evo Plus 1TB 3.0X4 NVME--Patriot P310 1.92TB 3.0X4 NVME / Case-InWin B1 Mesh / Keyboard-Logitech K380 / Mouse-Logitech G502 LIGHTSPEED Wireless / Monitor-ViewSonic VX1755 17" 1080p Portable IPS Gaming Monitor 144Hz / Speakers-Creative Muvo Go (Black)

 

Link to comment
Share on other sites

Link to post
Share on other sites

1 minute ago, Quarke said:

yes

Start the Minecraft server, then open the command line and enter

netstat -ano | find "LISTEN"

Do the Minecraft server ports show up in that list?

Remember to either quote or @mention others, so they are notified of your reply

Link to comment
Share on other sites

Link to post
Share on other sites

1 minute ago, wONKEyeYEs said:

The you used the IPv4 address that looks like 10.0.0.xxx?

 

It looks like:  IPv4 Address. . . . . . . . . . . : 172.28.16.1(Preferred)

Link to comment
Share on other sites

Link to post
Share on other sites

Just now, Eigenvektor said:

Start the Minecraft server, then open the command line and enter

netstat -ano | find "LISTEN"

Do the Minecraft server ports show up in that list?

yes

Link to comment
Share on other sites

Link to post
Share on other sites

Just now, Quarke said:

yes

Does it show up as e.g. 0.0.0.0:25565 or 127.0.0.1:25565?

Remember to either quote or @mention others, so they are notified of your reply

Link to comment
Share on other sites

Link to post
Share on other sites

3 minutes ago, Quarke said:

It looks like:  IPv4 Address. . . . . . . . . . . : 172.28.16.1(Preferred)

If your on the same local network open Command Prompt on the server and type ipconfig and choose the IPv4 Address that resembles 10.0.0.xx.

 

 

 

 

 

Quote

CPU-AMD Ryzen 9 5900X / CPU Cooler-Noctua NH-D15S / Motherboard-MSI MPG X570S CARBON MAX WIFI / Memory-G.Skill Trident Z Neo 64 GB (4 x 16 GB) DDR4-3600 CL16 / Storage-WD WDBSLA0040HNC-NRSN 4TB 3.5" 7200 RPM / Storage-WD Red 6 TB 3.5" 5400 RPM--Crucial P3 4TB 3.0X4 NVME--Sabrent Rocket 4.0 1TB 4.0X4 NVME--Corsair MP600 CORE 2TB 4.0X4 NVME / Video Card-XFX Radeon RX 6900 XT / Case-Lian Li O11 Air Mini / PSU-SeaSonic PRIME 1000 W 80+ Gold / Sound Card-Creative Labs Sound Blaster Z w/Shield / Monitor-BenQ GW2765HT 27.0" 2560 x 1440 60 Hz / Monitor-Asus ROG Strix XG27AQ 27.0" 2560 x 1440 170 Hz / Keyboard-Logitech G Pro / Mouse-Logitech G502 LIGHTSPEED Wireless / UPS-CyberPower GX1325U / Fan Controller-Corsair Commander Pro

Quote

CPU-AMD Ryzen 7 5800X / CPU Cooler-Corsair iCUE H100i ELITE CAPELLIX / Motherboard-Asus TUF GAMING X570-PRO (WI-FI) / MemoryG.Skill Trident Z Neo 32 GB (4 x 8 GB) DDR4-3600 CL16 / Storage-Western Digital Black SN750 SE 1TB 4.0X4 NVME--Samsung 970 Evo Plus 2TB 3.0X4 NVME--Seagate Barracuda Compute 3 TB 3.5" 5400 RPM / Video Card-Asus KO Gaming OC GeForce RTX 3070 / Case-Lian Li O11 Air Mini / Case-LIAN LI PCI-E 16 X 4.0 Black Riser / PSU-EVGA SuperNOVA 850 G+ Gold / Monitor-LG 22BK430H-B 21.5" 1920 x 1080 60 Hz / Monitor-MSI Optix 271CQP 27.0" 2560 x 1440 165 Hz Curved / Keyboard-Logitech G413 TKL SE / Mouse-Logitech G502 HERO Wired / UPS-CyberPower CP1350PFCLCD / Fan Controller-Corsair  Commander Pro / Sony HT-S200F Soundbar

Quote

CPU-AMD Ryzen 7 5700X / CPU Cooler-Scythe Mugen 5 Black Edition / Motherboard-MSI MPG B550I GAMING EDGE MAX WIFI / Memory-G.Skill Trident Z Neo 32 GB (2 x 16 GB) DDR4-3600 CL16 / Storage-Samsung 970 Evo Plus 1TB 3.0X4 NVME--PNY CS900 1TB 2.5" SSD--Samsung 970 Evo Plus 2TB NVME/ Video Card-EVGA XC GAMING GeForce RTX 3060 / Case-Cooler NR200P / PSU-Cooler Master V750 SFX GOLD / Keyboard-HyperX Alloy Origins Core / Mouse-Logitech G502 HERO Wired / UPS-CyberPower LE1000DG-FC / Fan Controller-NZXT RGB & Fan Controller

Quote

CPU-AMD Ryzen 7 5700G / CPU Cooler-Scythe Shuriken 2 / Motherboard-Gigabyte X570 I AORUS PRO WIFI / Memory-Corsair Vengeance LPX 32 GB (2 x 16 GB) DDR4-3800 CL18 / Storage-WD Blue 1TB 2.5" SSD--Samsung 970 Evo Plus 1TB 3.0X4 NVME--Patriot P310 1.92TB 3.0X4 NVME / Case-InWin B1 Mesh / Keyboard-Logitech K380 / Mouse-Logitech G502 LIGHTSPEED Wireless / Monitor-ViewSonic VX1755 17" 1080p Portable IPS Gaming Monitor 144Hz / Speakers-Creative Muvo Go (Black)

 

Link to comment
Share on other sites

Link to post
Share on other sites

2 minutes ago, Eigenvektor said:

Does it show up as e.g. 0.0.0.0:25565 or 127.0.0.1:25565?

  TCP    [::]:25563             [::]:0                 LISTENING       16164
  TCP    [::]:25564             [::]:0                 LISTENING       16164
  TCP    [::]:25565             [::]:0                 LISTENING       20556

Link to comment
Share on other sites

Link to post
Share on other sites

2 minutes ago, wONKEyeYEs said:

If your on the same local network open Command Prompt on the server and type ipconfig and choose the IPv4 Address that resembles 10.0.0.xx.

there isnt one?

Link to comment
Share on other sites

Link to post
Share on other sites

Just now, Quarke said:

  TCP    [::]:25563             [::]:0                 LISTENING       16164
  TCP    [::]:25564             [::]:0                 LISTENING       16164
  TCP    [::]:25565             [::]:0                 LISTENING       20556

That would mean it's listening on IPv6, not on IPv4

Remember to either quote or @mention others, so they are notified of your reply

Link to comment
Share on other sites

Link to post
Share on other sites

9 minutes ago, wONKEyeYEs said:

If your on the same local network open Command Prompt on the server and type ipconfig and choose the IPv4 Address that resembles 10.0.0.xx.

Why would there need to be an IP address in the 10.x.x.x range? You know that there are three different possible private ranges, right?

 

10.x.x.x

172.16.x.x – 172.31.x.x

192.168.x.x

 

~edit: If there are no listening ports for IPv4, then that might explain the issue. You could try disabling the IPv6 stack in Windows, in the hope that forces Minecraft to actually listen on IPv4. Otherwise you could try launching it like this:

java -jar -Djava.net.preferIPv4Stack=true <path-to-minecraft.jar>

 

Remember to either quote or @mention others, so they are notified of your reply

Link to comment
Share on other sites

Link to post
Share on other sites

14 minutes ago, Eigenvektor said:

Why would there need to be an IP address in the 10.x.x.x range? You know that there are three different possible private ranges, right?

 

10.x.x.x

172.16.x.x – 172.31.x.x

192.168.x.x

 

~edit: If there are no listening ports for IPv4, then that might explain the issue. You could try disabling the IPv6 stack in Windows, in the hope that forces Minecraft to actually listen on IPv4. Otherwise you could try launching it like this:

java -jar -Djava.net.preferIPv4Stack=true <path-to-minecraft.jar>

 

IPv4 Address. . . . . . . . . . . : 192.168.0.30(Preferred)

and for "java -jar -Djava.net.preferIPv4Stack=true <path-to-minecraft.jar>" which jar?

I have a bungeecord jar and two other minecraft jars.

Link to comment
Share on other sites

Link to post
Share on other sites

3 minutes ago, Quarke said:

IPv4 Address. . . . . . . . . . . : 192.168.0.30(Preferred)

and for "java -jar -Djava.net.preferIPv4Stack=true <path-to-minecraft.jar>" which jar?

I have a bungeecord jar and two other minecraft jars.

How are you starting the Minecraft server right now? Continue to use whatever jar you're using for that. The only thing that should change is that you add the "-Djava.net.preferIPv4Stack=true" to it.

Remember to either quote or @mention others, so they are notified of your reply

Link to comment
Share on other sites

Link to post
Share on other sites

1 hour ago, Eigenvektor said:

How are you starting the Minecraft server right now? Continue to use whatever jar you're using for that. The only thing that should change is that you add the "-Djava.net.preferIPv4Stack=true" to it.

I run the bungeecord jar through terminal. Then I run each docker container (with the two other servers).

Link to comment
Share on other sites

Link to post
Share on other sites

7 hours ago, Quarke said:

I run the bungeecord jar through terminal. Then I run each docker container (with the two other servers).

Oh, you're running the server in Docker. Well that could explain why it's only available on the host. If you run a Docker container you need to configure it to make the port available to others. How are you starting the containers?

Remember to either quote or @mention others, so they are notified of your reply

Link to comment
Share on other sites

Link to post
Share on other sites

9 hours ago, Eigenvektor said:

Oh, you're running the server in Docker. Well that could explain why it's only available on the host. If you run a Docker container you need to configure it to make the port available to others. How are you starting the containers?

Through the docker desktop app.

Previously I ran this on a mac mini and I had no problem (with the exact same containers)

Link to comment
Share on other sites

Link to post
Share on other sites

4 minutes ago, Quarke said:

Through the docker desktop app.

Previously I ran this on a mac mini and I had no problem (with the exact same containers)

The default network options for Docker containers on a Mac might be different. Not too familiar with the Docker desktop app, I usually run Docker containers using a docker-compose.yml. In any case, you should probably check if there are some type of network settings for the container where you can enable/disable opening ports to the network.

 

But as you said previously, you could see open ports, the only issue was the those ports where only open for IPv6, not IPv4. So you may want to explore disabling the IPv6 stack on Windows, then restarting the Docker container to see if it is now listening on IPv4 instead.

Remember to either quote or @mention others, so they are notified of your reply

Link to comment
Share on other sites

Link to post
Share on other sites

7 minutes ago, Eigenvektor said:

The default network options for Docker containers on a Mac might be different. Not too familiar with the Docker desktop app, I usually run Docker containers using a docker-compose.yml. In any case, you should probably check if there are some type of network settings for the container where you can enable/disable opening ports to the network.

 

But as you said previously, you could see open ports, the only issue was the those ports where only open for IPv6, not IPv4. So you may want to explore disabling the IPv6 stack on Windows, then restarting the Docker container to see if it is now listening on IPv4 instead.

I'll try that. Should I still run the terminal commend for the bungeecord server? It isn't on docker.

Link to comment
Share on other sites

Link to post
Share on other sites

21 hours ago, Eigenvektor said:

How are you starting the Minecraft server right now? Continue to use whatever jar you're using for that. The only thing that should change is that you add the "-Djava.net.preferIPv4Stack=true" to it.

I tried disabling ipv6 stack on windows and I ran the bungeecord jar with the previous command you sent. It still doesnt work.

Link to comment
Share on other sites

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×