LogoLogo
  • Getting Started
  • CLI
    • Docker
    • Config.yaml
  • GUI (SOON)
  • Tunnels Types
    • HTTP/s
      • HTTP/s plugins
      • HTTP/s apps
    • TLS
    • TCP
    • UDP
  • Reservations
    • Domain
    • Endpoint
  • Troubleshoot
    • Common errors
  • Tutorials
    • Expose a local web server
    • Expose Apache/Nginx web server
    • Share files from localhost
    • Use LocalXpose with Traefik
    • Expose PocketBase backend
    • Create a custom domain name
    • Make Let's Encrypt certificate
    • Access your IP camera remotely
    • Access your Raspberry Pi remotely
    • Sync your Keepass password manager
    • Expose localhost RASA chatbot for Telegram Integration
    • Expose your local Netdata Instance
    • Testing Stripe webhook
    • Expose localhost Kubernetes
    • Expose database server (PostgreSQL)
    • Exposing local Minecraft server
    • More Tutorials
Powered by GitBook
On this page
  • 1. Installing Minecraft Launcher
  • 2. Starting a map
  • 3. Exposing with LocalXpose

Was this helpful?

  1. Tutorials

Exposing local Minecraft server

This tutorial will show you how you can expose your local Minecraft server, so that you can play with your friends.

PreviousExpose database server (PostgreSQL)NextMore Tutorials

Last updated 2 years ago

Was this helpful?

1. Installing Minecraft Launcher

Go to Official mine-craft store and download the game launcher. Once you download the game launcher, you can proceed with logging in.

2. Starting a map

Once you have your Minecraft downloaded, you may start a map. Next click on "Open to LAN" to invite your friends to the map.

In the next menu, you can set some options for your friends. You should click on "Start LAN World" to start inviting players.

You should see Minecraft open a port for incoming multiplayer connection. In this case the port is 46629.

3. Exposing with LocalXpose

Next, You can go ahead and expose the port 46629 with LocalXpose.

$loclx tunnel tcp --to 127.0.0.1:46629 --port 46629 --region ap
✓ Creating TCP tunnel...
Tunneling TCP: ap-2.loclx.io:46629 --> 127.0.0.1:46629

Choosing a region closer to you will give you lower latency, also you can choose any endpoint port if port 46629 is taken.

Your friends can use the endpoint provided by LocalXpose [ap-2.loclx.io:46629] to connect to your Local game server.

You need to have your Minecraft and LocalXpose running in background, else your friends won't be able to connect.