How to Share Your Minecraft Game Over the Internet

how-to-share-your-minecraft-game-over-the-internet photo 1

If you’d like to share your local Minecraft game with friends across the internet, it’s a bit more complicated than just pushing a button. Let’s look at the behind-the-scenes settings you have to tweak in order to connect two remote Minecraft players together.

Why Share Your Game?

Minecraft is a sandbox game and bringing your friends to the sandbox is part of the fun—but maybe you don’t want to go through the hassle of setting up your own vanilla home server, running a customized server, or paying for a remotely hosted server. Maybe you just want to share your game with them across the country like you share your game with them when they’re sitting in your living room on their laptop.

RELATED ARTICLEShow-to-share-your-minecraft-game-over-the-internet photo 2How to Run a Simple Local Minecraft Server (With and Without Mods)how-to-share-your-minecraft-game-over-the-internet photo 3How to Set Up a Simple No-Stress Minecraft Server with Minecraft Realms

To make that happen, we need to tweak a few behind the scenes settings so you can share your local game through the internet in a way that allows them to easily connect to your computer.

Step One: Set a Static IP for Your Gaming Computer

First things first, you need to assign a static IP address to the computer that is hosting your Minecraft session. By doing this, you avoid having to look up the IP address of your computer on the local LAN every time you want to play with your friends online.

You can assign a static IP address at the computer level, but that’s not ideal, as it may conflict with the IP addresses your router assigns to other machines. Ideally, you want to set the static IP address at the router level.

This process varies based on the manufacturer and the version of the firmware installed on your router, but our guide to setting a static IP address on a router running DD-WRT provides a good overview of the process. In most cases, you’ll need the MAC address of the Minecraft computer to do this. If you run into any problems, you’ll have to refer to the manual for your specific router.

how-to-share-your-minecraft-game-over-the-internet photo 4

In our example, we found our computer’s MAC address (which starts with “d4:3d,” as shown above) and we’ve given it the IP address 10.0.0.101 in the static lease section of our router’s configuration. After saving, your computer should keep that same IP address forever (or until you go back to these settings and change it).

Step Two: Set a Port Forward Rule

Now that you’ve given your Minecraft-hosting computer a permanent address on the local network, you need to set up a port forwarding rule. This allows other computers outside your network to find your Minecraft-hosting computer by requesting a specific port. You can read more about the ins and outs of port forwarding in greater detail here.

Again, like with the static IP table, the port forwarding table location and configuration varies based on the router manufacturer and firmware, but you should find something like the following screenshot located somewhere without your router’s configuration menu:

how-to-share-your-minecraft-game-over-the-internet photo 5

In the above example, we named the port forwarding rule “Minecraft”, entered the internal IP address of our Minecraft-hosting computer (which we set to 10.0.0.101 in step one), and chose a port for Minecraft to communicate on—in this case, we’re using 22565 for both the external and internal port. Why this port? Well, 25565 is the default port for Minecraft LAN games, so by using the game’s default port number, we ensure our friends don’t have to fuss with setting a port number on their end.

Now, when anyone connects to our external IP address (more on that in a moment) at port 22565, they’ll be forwarded to the same port on our Minecraft computer, and we’ll be able to play Minecraft over the internet together.

However, there’s one more step we need to do before we start playing, which will also make our friends’ lives easier.

Step Three (Optional): Enable a Dynamic DNS Service

This step is optional, but highly recommended. It’ll save you a bunch of time in the future, and make things easier for your friends as well.

The vast majority of people have an Internet Service Provider (ISP) that gives them a dynamically assigned IP address for their home connection. This is different from the internal IP addresses on your local network—think of your external IP address like a street address, and your internal IP address like an apartment number. The external IP address distinguishes your home from other homes, while the internal IP address distinguishes between the computers inside your home.

Because your external IP address is dynamically assigned, though, it means that every time your cable modem restarts, you get a new IP address. Most of the time, that doesn’t matter much to you. But if you’re handing out your address to your friends, it suddenly matters a lot, as you’ll have to always give them your new IP address before starting a game.

You can sidestep all that by using a dynamic DNS service, which gives your home a much easier-to-remember address. Instead of 12.345.678.900, for example, your friends will just be able to type in jasonsminecraft.dynamicDNS.com. You don’t have to check your IP address every time, and they don’t have to fiddle with their settings every time.

If that sounds desirable to you, we walk you through the process, start to finish, in our guide to setting up a dynamic DNS service here. Follow those instructions, then come back here to start playing Minecraft.

Step Four: Start Your Game and Invite Your Friend

Now, you’ve assigned your Minecraft computer a static internal IP address, forwarded the Minecraft port to that machine, and (if you opted to follow step three) given your home an easy-to-remember address for your friends. It’s time to put this information into Minecraft and start playing.

Fire up your copy of Minecraft and start your game like you normally would. Then, press the Esc key to access the in-game menu. Select “Open to LAN”.

how-to-share-your-minecraft-game-over-the-internet photo 6

Now, you can simply click “Start LAN World”. If you’re curious about the different settings, check out our full guide to LAN games here.

how-to-share-your-minecraft-game-over-the-internet photo 7

When your LAN game starts you’ll see this message on your game screen: “Local game hosted on port XXXXX”. Minecraft randomizes the port number every time you start a new LAN game, so this number will be different each time.

how-to-share-your-minecraft-game-over-the-internet photo 8

This is the annoying part: you need to take that number, go back to your router’s port forwarding settings, and change the internal port for the port forwarding rule to whatever the XXXXX number was—this step is not optional. In the case of our screenshot below, that means we change the internal port number to 55340, and keep the external port number the same.

how-to-share-your-minecraft-game-over-the-internet photo 9

You’re finally done—now your friends can connect to you.

If you skipped step three, head to whatismyip.org, and send that IP address to your friend. If you set up a dynamic DNS service in step three, send your dynamic address (e.g. jasonsminecraft.dynamicDNS.com) to your friend instead.

They then can launch Minecraft, click on the big “Multiplayer” button on the main splash page, and then click “Direct Connect” to plug in the IP address or dynamic DNS address you just gave them. They don’t need a port number, since our port forwarding rule uses the default Minecraft port as our external port.

how-to-share-your-minecraft-game-over-the-internet photo 10

Thanks to the extra hoops you jumped through on their behalf, your friends can now easily connect to your game for remote over-the-internet LAN play. Just remember, every time you quit and restart your game you’ll have a new internal port for the shared game—so be sure to update that port forwarding rule to avoid a troubleshooting headache.

If you share your game frequently enough with friends that going to this extra effort to update the LAN game port number will quickly become a headache, we suggest you instead run the official Mojang-supplied server software (which is free and has a fixed port number) if you want to host the game on your own computer or, for an even easier and always-on experience, you can have Mojang do the hosting for you for $9.99 a month with Minecraft Realms.

Recommended stories

How to Make Minecraft More Friendly for Small Children

Minecraft is a great game for kids, no doubt about it, but that doesn’t mean it’s not a wee bit frustrating for smaller children. If you have a younger player and you’d like to adjust the game to their age and skill level, we’ve got more than a few tweaks to help make Minecraft frustration free for

More stories

The Best Wireless Speakers of 2017

You don't need cables to play music from your smartphone, tablet, or PC. These wireless speakers use AirPlay, Bluetooth, or Wi-Fi to let you cut the cord while you jam.

The Best Computer Speakers of 2017

A good set of speakers can help turn your PC into the ultimate home entertainment rig. Here's what to look for, along with the best ones we've tested.

Lab-Grown Meat: The New Clean Food

By extracting cells from a live cow, scientists are now able to actually cultivate meat inside of a laboratory. This cutting-edge technique is being touted as a...

How to Search Every Streaming Site in One Place With Roku Search

It’s one of the great annoyances of the streaming media age: figuring out which shows and movies are on which services. Searching Netflix, Hulu, Amazon Prime, and other sites individually takes up way too much time, especially when you just want to relax and watch something.