TheRemote / MinecraftBedrockServer

Sets up a Minecraft Bedrock dedicated server on Ubuntu with options for automatic updates and running at startup
https://jamesachambers.com/minecraft-bedrock-edition-ubuntu-dedicated-server-guide/
MIT License
811 stars 173 forks source link

Unable to connect to world error when trying to connect to my server. #60

Closed thetechguy-cpu closed 3 years ago

thetechguy-cpu commented 3 years ago

Hi. I have a ubuntu vps. I ran the script and all went well. I was able to start the server. It said server started, however when my friends try to connect to my external IP with the port 19132, it says unable to connect to world. Nothing shows up on the logs. Port 19132 is open on UFW. What am I doing wrong here?

HockeyGuy10 commented 3 years ago

Are you port forwarding 19132 from your router to your server?

thetechguy-cpu commented 3 years ago

No. The server is in a separate network. Port 19132 is open on that. Does it have to be open on my router too?

HockeyGuy10 commented 3 years ago

Yes. Your router has to port forward all 19132 (TCP & UDP) traffic to your server or it will stop at the router.

HockeyGuy10 commented 3 years ago

I might have missed a detail at the beginning. Is Ubuntu VPS hosted somewhere other than your network? Or does it have its own external IP separate from your router?

thetechguy-cpu commented 3 years ago

@HockeyGuy10 By Ubuntu VPS I mean a server with an external IP on a different network.

thetechguy-cpu commented 3 years ago

Hi. I'm sorry to bring this back up, but does anyone have ideas to solve my problem? Thanks.

TheRemote commented 3 years ago

You probably have ufw enabled if it's Ubuntu Server. A:

ufw allow 19132

should probably do it!