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 thread.
View all comments View context
-13 points

Yes, and Minecraft is TCP not http

permalink
report
parent
reply
4 points
*

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

The difference, in your case, is the port. You can’t CAN have TCP and UDP on the same port, but you can’t have the same protocol on the same port.

edit: I didn’t knew you could have different transfer protocols on the same port, ty!

permalink
report
parent
reply
4 points

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.

permalink
report
parent
reply
-1 points

For what

permalink
report
parent
reply
12 points

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.

permalink
report
parent
reply
28 points

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

permalink
report
parent
reply
1 point

HTTP/3 is UDP though.

permalink
report
parent
reply
1 point
*

QUIC? Yeah I know. Interesting system.

permalink
report
parent
reply
11 points

Oops you are right.

A quick search said mc uses tcp

permalink
report
parent
reply
10 points

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

permalink
report
parent
reply
10 points

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

permalink
report
parent
reply

Selfhosted

!selfhosted@lemmy.world

Create post

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!

Community stats

  • 5.3K

    Monthly active users

  • 1.8K

    Posts

  • 19K

    Comments