SteveTech@programming.devtoSelfhosted@lemmy.world•How does hypixel have their website and minecraft server on their root domain? (I would like to do something similar)English
19·
10 days agoTCP and UDP can listen on the same port, DNS is a great example of such. You’d generally need it to be part of the same process as ports are generally bound to the same process
They don’t even need to be the same process. I’m pretty sure that’s just a common practice if something needs both protocols, but there’s nothing stopping you from having a web server on TCP 443 and a VPN server on UDP 443. Ports are an abstraction brought by each protocol, they aren’t in anyway related.
Not to defend them, but he did follow up with this:
https://xcancel.com/chrispavlovski/status/1856090182275215803
Although quality != latency, so idk.