Would you like to share your internet

How to share your Minecraft game over the internet

If you want to share your local Minecraft game with friends on the internet, it's a little more complicated than just the push of a button. Let's take a look at the behind-the-scenes settings you'll need to adjust in order to link two remote Minecraft players together.

Why should you share your game?

Minecraft is a sandbox game, and getting your friends in the sandbox are part of the fun - but you might not want to set up your own vanilla home server, run a custom server, or pay for a remotely hosted server. You may just want to share your game with them across the country, just like you share your game with them when they are sitting on their laptop in your living room.

To do this, we need to adjust some behind-the-scenes settings so that you can share your local game over the internet in a way that can easily be connected to your computer.

First step: set a static IP address for your gaming computer

First, you'll need to assign a static IP address of the computer your Minecraft session is on. This way, you don't have to look up your computer's IP address on the local LAN every time you want to play online with your friends.

You can assign a static IP address at the, but this is not ideal as it can conflict with the IP addresses your router assigns to other computers. Ideally, you want to set the static IP address at the router level.

CONNECTED:Here's how to set up static DHCP so that your computer's IP address doesn't change

This process will vary depending on the manufacturer and the version of firmware installed on your router, but our guide on How to Set a Static IP Address on a Router Using DD-WRT provides a good overview of the process. In most cases, you'll need the Minecraft computer's MAC address to do this. If you run into any problems, you will need to refer to the manual for your specific router for advice.

In our example we have found the MAC of our computer. We have specified the address (which starts with "d4: 3d" as shown above) and the IP address in the "Static Lease" section of the router configuration. Once saved, your computer should keep this IP address forever (or until you return to these settings and change them).

Step 2: Set up a port forwarding rule

CONNECTED:How to forward ports on your router

Now that you've got your Minecraft hosting computer a permanent address on the local network, you'll 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. Learn more about the pros and cons of port forwarding here.

As with the static IP table, the port storage location and configuration of the forwarding table depend on the manufacturer and the firmware of the router. However, the following screenshot should be somewhere without your router's configuration menu:

In the example above, we named the port The Minecraft forwarding rule entered the internal IP address of our Minecraft hosting computer (which we set to in Step 1) and chose a port for communicating with Minecraft. In this case we are using 22565 for both the external and internal port. Why this port? Well, 25565 is the default port for Minecraft LAN games. So if we use the game's default port number, our friends don't need to set a port number.

Well, when someone connects to our external IP address (more on that in a moment) on port 22565, they will be forwarded to the same port on our Minecraft computer and we can play Minecraft together over the internet.

Before we start playing, however, there is one more step we need to take that will also make our friends' lives easier.

Third step (optional): Activate a dynamic DNS service

This step is optional, however maximum recommended. This will save you a lot of time in the future and make it easier for your friends too.

CONNECTED:How to access your home network from anywhere with Dynamic DNS

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 as a street address and your internal IP address as an apartment number. The external IP address differentiates your home from other homes, while the internal IP address differentiates between the computers in your home.

Because your external IP address is dynamic, however, Assigned means that you will receive a new IP address every time you restart your cable modem. Most of the time, it doesn't really matter to you. However, when you distribute your address to your friends it suddenly becomes very important as you always have to give them your new IP address before starting a game.

You can get around all of that by using a dynamic DNS service that gives your home a much easier address to remember. For example, instead of 12,345,678,900, your friends can just type in jasonsminecraft.dynamicDNS.com. You don't have to check your IP address every time and you don't have to mess with your settings every time.

If that sounds like you want, we'll guide you through our guide to setting up a dynamic DNS service for information on how to complete the process. Follow these instructions, then come back here to play Minecraft.

Fourth step: start your game and invite your friend

Now you've assigned your Minecraft computer. Astatic internal IP address, forwarded the Minecraft port to this computer and (if you chose to go with step 3) gave your home an easy to remember address for your friends. It's time to incorporate that information into Minecraft and start playing.

Launch your version of Minecraft and start your game as normal. Then press the Esc key to access the game menu. Choose "Open to LAN".

Now you can simply click on "Start LAN World". If you're curious about the various settings, check out our full guide to LAN games here.

When your LAN game starts you will see this message on your game screen: "Local game hosted on port XXXXX". Minecraft randomly sorts the port number each time a new LAN game is started, so that number is different each time.

This is the annoying part: you have to take that number, go back to your router's port forwarding settings, and change those internally port for the port forwarding rule to any XXXXX number:This step is not optional. In our screenshot below, this means that we will change the internal port number to 55340 and keep the external port number.

You're finally done - now your friends can connect with you.

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

Then they can launch Minecraft and click the big button on the welcome page, click the “Multiplayer” button, then click “Direct Connect” to enter the IP address or dynamic DNS address you just provided. You don't need a port number as our port forwarding rule uses the standard Minecraft port as the external port.

Now, thanks to the extra hoops that you kept jumping throughin their name, your friends can easily connect to your game to play on the LAN over the Internet. Remember that every time you exit and restart the game, you will have a new internal port for the shared game. So be sure to update this port forwarding rule to avoid troubleshooting headaches.

If you share your game often enough with other friends who make the extra effort to update the LAN port number, you will quickly get headaches. We recommend that you use the official server software provided by Mojang (free and with a fixed port number) instead if you want to host the game on your own computer or for an even easier and always available experience, Mojang can host the game for you for Get $ 9.99 per month on Minecraft Realms.