Why can I not connect to my Bedrock server from outside?

Why can I not connect to my Bedrock server from outside? - Ethnic woman spraying paint on wall

I have a Bedrock dedicated server set up in my home NAS, and I can access it just fine on my local network (LAN). I've forwarded ports 19131-19133 through my router to the NAS, and I was able to get a ping from the internet to my server (on port 19132). However, whenever I try to connect externally, it always fails with "Could not connect to world."

I did notice in the logs, whenever it starts up it indicates two different ports:

[INFO] IPv4 supported, port: 19132
[INFO] IPv4 supported, port: 39187 // <-- changes every time

I've tried looking online for answers, but no joy. For reference, I'm using marctv/minecraft-bedrock-server on Docker in my Synology. Not sure if that helps.

edit: mistyped port range.






Pictures about "Why can I not connect to my Bedrock server from outside?"

Why can I not connect to my Bedrock server from outside? - From below side view of anonymous female artist in casual wear and black braided hair painting graffiti on colorful wall
Why can I not connect to my Bedrock server from outside? - Faceless woman spraying paint from can
Why can I not connect to my Bedrock server from outside? - From above side view of crop faceless female artist with braided hair painting graffiti on wall while standing on street



How do I connect to a Bedrock external server?

HOW TO CONNECT TO YOUR POCKET / BEDROCK EDITION SERVER
  • On the Minecraft Pocket Edition application, press the Play button.
  • Navigate to the Servers tab.
  • On the Servers tab, press the Add Server button.
  • Enter your Server Name, Server Address, and Port.
  • Press Play to quickly join the server.




  • How To Fix The Unable To Connect To World Glitch! | Minecraft PE (Win10/Xbox/PS4/Switch)




    Sources: Stack Exchange - This article follows the attribution requirements of Stack Exchange and is licensed under CC BY-SA 3.0.

    Images: Felicity Tai, Felicity Tai, Felicity Tai, Felicity Tai