r/MinecraftServer • • 8d ago

Help Self hosting a local server

I'm looking to self host a Minecraft server for me and my siblings, so if it's possible to only have it available to people on the same network, that'd be great. I've never done something like this, so I figured I'd ask in here to get an idea of how to go about minimizing lag/latency, while keeping the server only available to people on the same network

1 Upvotes

6 comments sorted by

•

u/AutoModerator 8d ago
  • Featured server: Cozy MC — Java + Bedrock survival in a world that doesn't reset. New players join every day. Build your own place, open a player shop, and get to know your neighbors. No paid ranks or perks. Come explore CozyMC.com

  • TownifyMC — Java + Bedrock survival on a massive 1:300 scale Earth map where the world never resets, meaning everything you build becomes part of a lasting world. Build your own town, grow an empire, shape a player-driven economy, and join a friendly, active community where there's always someone online! play.townifymc.com

I am a bot, and this action was performed automatically. Please contact the moderators of this subreddit if you have any questions or concerns.

1

u/aceylockehart 8d ago

Wow I haven't done this in a whillleee I remember doing this for my sisters a long time ago, but hopefully what I can remember is that you'll need to know what your IP address is in your home network. NOT the one where you check it on "what's my IP.com" that's your public IP.

If your home network is set up like every other home network one of things you'll want to do is set a static IP for the computer that's hosting the server, that way your siblings don't have to change the address on their minecraft everytime your router resets/changes IPs etc etc.

I don't remember if you have to open the default minecraft port on your PC (assuming you're hosting it on your pc)

Hopefully I've given you enough to get started.

1

u/Regrave 8d ago

not port forwarding is what keeps it local, so you can skip that part entirely. easiest is open to lan from the pause menu on whoever has the best pc, it just shows up in everyone's multiplayer list. if you want it running when that person isnt playing, put the server jar on a pc that stays on and give it a static ip like the other comment said

1

u/kai-zaphosting 8d ago

Good news is LAN-only is basically the default. As long as you don't port forward 25565 on your router, nobody outside your network can reach the server, so there's nothing special to set up for that.

Are you on Java or Bedrock? The server download is different for each (both come from Mojang's official download pages), though the general lag advice should apply to both.

For lag, the host machine matters most. Use ethernet instead of wifi if you can, and avoid playing on the same PC that hosts if it's on the weak side, since Minecraft leans on single-core speed. If you see one core pinned in Task Manager while everyone's online, that's your limit. Lowering view-distance in server.properties can take a bit of load off too, but I'd sort out the hardware first, since that's the bigger lever.

Your siblings join with the host's local IP. On Windows, run ipconfig in Command Prompt and look for the IPv4 Address, then add that under Multiplayer > Add Server. When Windows Firewall prompts on the server's first launch, allow Java on private networks, since denying it is the usual reason siblings on the same LAN can't connect even with the right IPv4 address. That only helps if the host PC's network profile is set to Private (Settings > Network & Internet > the connection's properties), because if Windows has it as Public, the allow rule has no effect and siblings still can't connect.

1

u/Educational-Pie9756 8d ago

Well, I host my Minecraft server . self hosted. And l use an external provider called lightnode VPS of course I make sure it in the same country where I live. because I hosted in my home server. Zima os. So it used docker container.. so I have to download another thing to receive the connection of lightnode the connection is
. Lightnode use. frps
My home server use frpc .
Play any web even if they’re far from our house they can still play even if they’re at home