the fast, reliable localhost tunneling solution


Minecraft

2021-04-18, 17:24

IMPORTANT: Minecraft changed their protocols and it appears modern versions of the game no longer works with PageKite. The following text is preserved in case we manage to find and fix the problem.


Support for the Minecraft Server protocol has recently been added to PageKite. This makes it very simple to set up a multiplayer Minecraft game that can be played over the Internet.

Setting up a multiplayer Minecraft server accessable over the Internet has involved either reconfiguring routers to allow access from outside to the Minecraft server (usually running on port 25565) or to rent a virtual server and run the Minecraft server there.

Opening up a port on your internet router is in many cases difficult (at least cumbersome) and may carry some security risk.

Using PageKite together with the Minecraft server makes it a possibilty to run the Minecraft server at home without reconfiguration of routers and having less to worry about security.

Before continuing it should be noted that Minecraft support is still experimental in PageKite. If you experience any problems using Minecraft please help out by reporting the problems.

Prerequisites

  • NOTE: This will only work with OLD VERSIONS of Minecraft. Sorry!
  • We assume you have already got Python installed and Pagekite up and running having registered your own user/domain under pagekite.me: user.pagekite.me
  • We assume you have a running Minecraft server.
  • We assume PageKite and the Minecraft server will be running on the same computer.

Howto

  • Start up your Minecraft server. Verify that you can connect to it from your Minecraft game locally.
  • Run PageKite from a command prompt:

    pagekite.py 25565 minecraft:user.pagekite.me
    
  • Make sure you get something like the text below in your pagekite output:

    Flying localhost:25565 as minecraft://user.pagekite.me/
    
  • Start your Minecraft game, log in and select Multiplayer game

  • Click on "Direct connection" and enter user.pagekite.me
    minecraftjoindirect2.png
  • You should be logged into the server through PageKite.
  • Have your friends all over the Internet join you by connecting to the same minecraft.user.pagekite.me server!
  • Have fun!

What else

You can also use "Add server" instead of using "Direct connection". However, PageKite doesn't currently support the "ping" protocol used by the Minecraft game client to check if a server is online. You can still connect to "added" server although the game thinks they are unreachable.

You could have a separate subdomain for Minecraft like minecraft.user.pagekite.me or even run the PageKite on your own domain like described in CnamePageKites.

If you leave your Minecraft server running and accesable from the Internet, you should consider setting up whitelists for allowed users to prevent "anyone" from joining your game.

It might be a good idea to add the Minecraft setup to your PageKite configuration file. Just run the same pagekite.py command line as above but with the --add argument

pagekite.py --add 25565 minecraft:user.pagekite.me

This way, the next time you run pagekite.py without any arguments, the Minecraft kite will fly automatically!

Comments

  1. lukey said on 2013-02-25, 19:48
    on my Computer it won`t work
    what must I enter as server ip in the minecraft confic file?


    (i am from german)
    Permalink
  2. Guillermo said on 2013-03-25, 01:01
    Doesnt work me me either, latest pagekite v0.5.6a. and minecraft 1.5.1 clients and server.

    Minecraft just gets stuck on logging in on the client, and on the server nothing is recorded, the requests never arrive.
    Permalink
  3. Guillermo said on 2013-03-25, 01:02
    Oh and local connecting to server does work.
    Permalink
  4. holubv said on 2013-03-29, 19:18
    Works on 1.4.7 but not on 1.2.5
    Permalink
  5. Bjarni RĂșnar Einarsson said on 2013-05-17, 13:24
    The initial experimental Minecraft support only supported one version of the Minecraft protocol.

    However, good news, the relays have now been updated to support all past and hopefully all future versions as well, which should fix the logging in problem.
    Permalink
  6. TableCraft0R said on 2013-06-01, 04:10
    Join my minecraft server minecraft.tablecraft0r.pagekite.me
    Permalink
  7. jeff said on 2014-03-19, 02:28
    It looks like I am having the same problem the others were having. With Minecraft 1.7.5, it gets stuck on logging in on the client, but connection via external IP does work.
    Permalink
  8. Kevin said on 2014-07-02, 21:54
    This worked beautifully for me (Minecraft 1.6.4). I'm impressed - that was ridiculously simple, and the lag on the game seemed as low as when I connect over the LAN.
    Permalink
  9. Peter Gransden said on 2015-02-12, 11:40
    Please update the protocol to 1.7.# /1.8.# The port shows as open, but there is no response from the server and times out of login screen.
    Permalink
  10. multiplayer games online said on 2015-04-29, 06:11
    I just love to play the <a href="http://www.kitefights.com" > multiplayer games online </a> i love kite fight game This game was amazing to play in online.
    Permalink
  11. Bjarni RĂșnar Einarsson said on 2015-08-27, 12:26
    Confirmed, PageKite does not work with the most recent versions of the Minecraft protocol.

    I am not sure when this will get fixed, if ever. Nobody from the community has contributed patches or fixes to the open source pagekite.py, and since hardly any Minecraft users ever paid for service there hardly seems to be a business justification for fixing this.
    Permalink
  12. Rnd said on 2016-04-18, 08:46
    YOU Don't need patches. IT only needs real RAW Protocol access: i.e. True Reverse SSH Tunnel not HTTP Proxied. I tried Reverse SSH'ing to my Server and connecting to that Server, and it connected successfully. I Set up a ngrok Account to test their tcp too, and it worked.
    Permalink
  13. JayVii said on 2016-05-20, 23:08
    I whish this would work with MineTEST as well. I'd love to host a server of that for a few friends and myself to screw around. Pagekite's HTTP-proxy makes it impossible, though.

    Can this protocol be influenced/modified to support minetest as well?
    Permalink
  14. G said on 2020-07-25, 09:30
    The reason why it doesn't work is because Minecraft uses SRV records.
    Permalink

Leave a comment

( (Please leave these blank: )

We use Gravatar for commenter's photos. Get your own, it's free!