Search…
Getting Started
CLI
GUI (SOON)
Tunnels Types
HTTP/s
TLS
TCP
UDP
Reservations
Domain
Endpoint
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
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.
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.
Tutorials - Previous
Expose database server (PostgreSQL)
Next - Tutorials
More Tutorials
Last modified
1mo ago
Copy link
Outline
1. Installing Minecraft Launcher
2. Starting a map
3. Exposing with LocalXpose