1. The forums will be archived and moved to a read only mode in about 2 weeks (mid march).

Changing the port of another host.

Discussion in 'General discussion' started by MalakasPlayzMCPE, Oct 7, 2018.

  1. MalakasPlayzMCPE

    MalakasPlayzMCPE Zombie Pigman

    Messages:
    667
    So lets suppose there is a host a that has a minecraft server on the port 19133. I want o make a domain of that server that will change the port. Like connecting to the host a with a domain and another port (19132).
     
  2. Thunder33345

    Thunder33345 Moderator Staff Member

    Messages:
    2,137
    GitHub:
    Thunder33345
    no this is not how it works
    you cant remap ports using DNS sadly
    only way is to run a proxy that connects to the real ip and port
    or even easier have players get transfered when they join in
     
  3. JUSTaMod

    JUSTaMod Spider Jockey

    Messages:
    38
    GitHub:
    justamod
    The closest thing I've got off the top of my head are SRV Records. There was an issue like this on stack overflow.

    I know this isn't exactly what your looking for, in which case I would have to agree with @Thunder33345
     
  4. EdwardHamHam

    EdwardHamHam Skeleton

    Messages:
    962
    GitHub:
    edwardhamham
    SRV records are perfect for Minecraft Java Edition where larger servers use them all the time. Bedrock Edition doesn't support them however.
     
    HimbeersaftLP likes this.
  5. JUSTaMod

    JUSTaMod Spider Jockey

    Messages:
    38
    GitHub:
    justamod
    That I did not know. That's annoying.
     
  6. MalakasPlayzMCPE

    MalakasPlayzMCPE Zombie Pigman

    Messages:
    667
    Okay, I will try to help. There was a thing named red something. I am 100% sure it included the word red. Redstone something. It did the thing I am asking for, I saw it on the forums like 6 months ago but it was either not working for or it was deleted/not maintened anymore. You had domains like whateveryouwanthere.redstonesomething.com or .net
     
  7. Thunder33345

    Thunder33345 Moderator Staff Member

    Messages:
    2,137
    GitHub:
    Thunder33345
    redstone transfer by dalton if i remember correctly and it's probably no longer maintained
    theirs basically do the transfering for you
     
  8. MalakasPlayzMCPE

    MalakasPlayzMCPE Zombie Pigman

    Messages:
    667
    Yeah, that guy. Thanks. So they used the transfer packet?
     
  9. EdwardHamHam

    EdwardHamHam Skeleton

    Messages:
    962
    GitHub:
    edwardhamham
    Yes. If I remember correctly Dalton said they set up an API that would use the transfer packet to send you to a certain server depending on which address they connected with. I don't know the specifics of how they created the system for doing so however. The transfer on join is easy, but I don't know how they were able to determine which address a player joins with.
     
  10. EdwardHamHam

    EdwardHamHam Skeleton

    Messages:
    962
    GitHub:
    edwardhamham
  11. HimbeersaftLP

    HimbeersaftLP Fish

    Messages:
    2,402
    GitHub:
    HimbeersaftLP
    The LoginPacket has that I think.
     
    EdwardHamHam likes this.
  12. MalakasPlayzMCPE

    MalakasPlayzMCPE Zombie Pigman

    Messages:
    667
    How can I do that? With the login packet.
     
  13. Thunder33345

    Thunder33345 Moderator Staff Member

    Messages:
    2,137
    GitHub:
    Thunder33345
    i know some technical details but by memory:
    all addressed of *.redst.one is redirected to 1 host
    the host server reads the entry address,
    and attempts to match it with an internal list of domain name -> server IP list
    once a match is made it's transferred to the matched server
    there's something about loadbalancers but i dont really remember anything about them other then it begin mentioned
     
  14. MalakasPlayzMCPE

    MalakasPlayzMCPE Zombie Pigman

    Messages:
    667
    So it is like a proxy, right? A proxy with the IP of the player.
     
  15. Thunder33345

    Thunder33345 Moderator Staff Member

    Messages:
    2,137
    GitHub:
    Thunder33345
    no transfer packer isnt a proxy
    it just redirects where the client goes
     
  16. MalakasPlayzMCPE

    MalakasPlayzMCPE Zombie Pigman

    Messages:
    667
    I know, but when redstone transfer was made, there was no transfer packet, right?
     
  17. EdwardHamHam

    EdwardHamHam Skeleton

    Messages:
    962
    GitHub:
    edwardhamham
    No, there was. That was after the transfer packet was re added to the game.
     
  18. MalakasPlayzMCPE

    MalakasPlayzMCPE Zombie Pigman

    Messages:
    667
    Oh, I see. So this is not possible. Can I transfer a player faster? Like a proxy but without hiding the real IP of the player. Like brokenlens (no advertising, I know) but for php (they use java).
     
  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.