Hypixel.net is both their website and mc server adress.

Is it just that https is on port 443 and minecraft is on port 25565?

And if that is the case, can i do something similar by making a reverse proxy have two seperate server blocks for the one domain, with different ports?

  • owsei@programming.dev
    link
    fedilink
    English
    arrow-up
    0
    ·
    3 days ago

    TCP is the way that you send information, HTTP is what it means.

    Minecraft could use TCP (but it probably uses UDP but it doesn’t matter right now). The difference is the port. You can’t have TCP and UDP on the same port.

    • peregus@lemmy.world
      link
      fedilink
      English
      arrow-up
      0
      ·
      3 days ago

      You can’t have TCP and UDP on the same port.

      Why not? They are 2 completely separated set of ports. You can have a service listening on port 88 TCP while having another listening on port 88 UDP and they never know about each other.

    • undefined@lemmy.hogru.ch
      link
      fedilink
      English
      arrow-up
      0
      ·
      3 days ago

      You can’t have UDP and TCP on the same port? I don’t think that makes sense, I have DNS listening on UDP and TCP both on port 53.