Unable to port forward to server? #2190
Unanswered
theRealBassist
asked this question in
Q&A
Replies: 2 comments
-
Your container setup looks right. Is it only failing when trying to access your server from within your LAN but via the public IP address? If so, lookup information on "hairpin routing" since it could be that your internet router does not support that routing scenario. |
Beta Was this translation helpful? Give feedback.
0 replies
-
Hello! Sorry for the delay. Yes, I meant to mark the issue as closed as it was indeed an issue with hairpin routing. I use PFSense which does support it, but you have to set it up a particular way (which I have no yet actually worked through yet). Thank you for your help! |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Describe the problem
Hello!
I just set up a server with the attached docker-compose, and I have not been able to get port forwarding to work at all. Every port checking website I can find reports that 25566 (the port I am using) is open and available. The container has the port 25566 mapped to 25566, and the logs state that it is starting at 0.0.0.0:25566. I just have no idea what's going on.
Container definition
version: "3.8"
services:
mct_survival:
image: itzg/minecraft-server
container_name: mct_survival
environment:
EULA: "true"
UID: 0
PID: 0
SERVER_PORT: 25566
ports:
- "25566:25566"
volumes:
- /mnt/marzarbul/minecraft/mct_survival:/data
stdin_open: true
tty: true
restart: unless-stopped
Container logs
[init] Running as uid=0 gid=1000 with /data as 'drwxr-xr-x 2 0 10000 0 Jun 6 23:37 /data'
[init] Resolved version given LATEST into 1.19.4 and major version 1.19
[init] Resolving type given VANILLA
[init] Setting initial memory to 1G and max to 1G
[init] Starting the Minecraft server...
Starting net.minecraft.server.Main
[23:39:39] [ServerMain/INFO]: Environment: authHost='https://authserver.mojang.com', accountsHost='https://api.mojang.com', sessionHost='https://sessionserver.mojang.com', servicesHost='https://api.minecraftservices.com', name='PROD'
[23:39:40] [ServerMain/INFO]: Loaded 7 recipes
[23:39:41] [ServerMain/WARN]: Found validation problem in {minecraft:entities/shulker}.pools[1].entries[0]: Unknown loot table called minecraft:entities/reference/mmh/shulker
[23:39:41] [ServerMain/INFO]: Loaded 1191 advancements
[23:39:41] [Server thread/INFO]: Starting minecraft server version 1.19.4
[23:39:41] [Server thread/INFO]: Loading properties
[23:39:41] [Server thread/INFO]: Default game type: SURVIVAL
[23:39:41] [Server thread/INFO]: Generating keypair
[23:39:41] [Server thread/INFO]: Starting Minecraft server on 0.0.0.0:25566
[23:39:41] [Server thread/INFO]: Using epoll channel type
[23:39:42] [Server thread/INFO]: Preparing level "world"
[23:39:43] [Server thread/INFO]: Preparing start region for dimension minecraft:overworld
[23:39:46] [Worker-Main-1/INFO]: Preparing spawn area: 0%
[23:39:46] [Worker-Main-4/INFO]: Preparing spawn area: 0%
[23:39:46] [Worker-Main-2/INFO]: Preparing spawn area: 0%
[23:39:46] [Worker-Main-4/INFO]: Preparing spawn area: 0%
[23:39:46] [Worker-Main-4/INFO]: Preparing spawn area: 0%
[23:39:46] [Worker-Main-2/INFO]: Preparing spawn area: 0%
[23:39:47] [Worker-Main-1/INFO]: Preparing spawn area: 0%
[23:39:47] [Worker-Main-5/INFO]: Preparing spawn area: 0%
[23:39:47] [Worker-Main-4/INFO]: Preparing spawn area: 0%
[23:39:48] [Worker-Main-1/INFO]: Preparing spawn area: 0%
[23:39:48] [Worker-Main-1/INFO]: Preparing spawn area: 42%
[23:39:49] [Server thread/INFO]: Time elapsed: 5596 ms
[23:39:49] [Server thread/INFO]: Done (7.418s)! For help, type "help"
[23:39:49] [Server thread/INFO]: Starting remote control listener
[23:39:49] [Server thread/INFO]: Thread RCON Listener started
[23:39:49] [Server thread/INFO]: RCON running on 0.0.0.0:25575
Beta Was this translation helpful? Give feedback.
All reactions