34

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?

you are viewing a single comment's thread
view the rest of the comments
[-] LodeMike@lemmy.today 62 points 6 days ago

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

Yes

[-] Blisterexe@lemmy.zip 40 points 6 days ago

Good to know i was right, i will now carry this newfound confidence into every subject

[-] Dust0741@lemmy.world -3 points 6 days ago

Yes, and Minecraft is TCP not http

[-] LodeMike@lemmy.today 22 points 6 days ago

HTTP is TCP. And I'm pretty sure Minecraft uses UDP?

[-] Dust0741@lemmy.world 7 points 6 days ago

Oops you are right.

A quick search said mc uses tcp

[-] zzx@lemmy.world 6 points 6 days ago

Most games use UDP as the latency induced by TCP is unacceptable for games

[-] Oha@lemmy.ohaa.xyz 5 points 6 days ago

Minecraft java, for some reason, doesnt

[-] mypasswordis1234@lemmy.world 0 points 6 days ago* (last edited 6 days ago)

Minecraft is a building game where latency does not matter as much as in shooter games. For example, if your latency is 200 ms, you can play Minecraft smoothly, while in FPS games it is unacceptable 😉

Edit: In addition, the Minecraft server can use UDP protocol to serve the server status (but only for this purpose and it is not, nor has it ever been used by the game client). In the past, it was used to display the number of players on websites with server listings, but this can be considered deprecated now – today they use the same protocol as the game client.

[-] owsei@programming.dev 9 points 6 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.

[-] undefined@lemmy.hogru.ch 2 points 6 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.

[-] pinkystew@reddthat.com 1 points 6 days ago
[-] undefined@lemmy.hogru.ch 2 points 6 days ago
[-] pinkystew@reddthat.com 0 points 6 days ago

You have DNS listening on UDP and TCP... for DNS?

Iol, lol.

[-] peregus@lemmy.world 1 points 6 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.

[-] possiblylinux127@lemmy.zip 1 points 6 days ago

You are sort of right

TCP is on layer 4 of the OSI model. Http is layer 7 which runs on top of layer 4 (TCP)

In sort Minecraft and http are both tcp

this post was submitted on 11 Nov 2024
34 points (94.7% liked)

Selfhosted

40219 readers
312 users here now

A place to share alternatives to popular online services that can be self-hosted without giving up privacy or locking you into a service you don't control.

Rules:

  1. Be civil: we're here to support and learn from one another. Insults won't be tolerated. Flame wars are frowned upon.

  2. No spam posting.

  3. Posts have to be centered around self-hosting. There are other communities for discussing hardware or home computing. If it's not obvious why your post topic revolves around selfhosting, please include details to make it clear.

  4. Don't duplicate the full text of your blog or github here. Just post the link for folks to click.

  5. Submission headline should match the article title (don’t cherry-pick information from the title to fit your agenda).

  6. No trolling.

Resources:

Any issues on the community? Report it using the report flag.

Questions? DM the mods!

founded 1 year ago
MODERATORS