Published Dec 3, 2026, 10:00 AM EST His love of PCs and their components was born out of trying to squeeze every ounce of performance out of the family computer. Tinkering with his own build at age 10 turned into building PCs for friends and family, fostering a passion that would ultimately take shape as a career path. Besides being the first call for tech support for those close to him, Ty is a computer science student, with his focus being cloud computing and networking. He also competed in semi-pro Counter-Strike for 8 years, making him intimately familiar with everything to do with peripherals. If you self-host with a domain on Cloudflare, you're probably used to putting things behind that orange cloud, especially when it comes to anything web-based. Your home IP stays hidden while attacks get soaked up by Cloudflare's protections. For game servers, though, self-hosting or renting through a purpose-built service were the only two choices, and if you were to try and proxy it through Cloudflare, nobody would be able to connect. I recently came across a fascinating GitHub repo called Minecraft Server on Orange Cloud, and it gets around this by putting the whole server on Cloudflare: the network edge, the compute, and the world storage. You don't need a VPS or an open port on your router, and nothing runs while nobody's online. It's a pretty interesting use of Cloudflare's services, but as an actual solution to hosting a server for your friends, the other options are still much better. Cloudflare and Minecraft historically never fit together A bit like oil and water in some ways Cloudflare's free proxy service works at the HTTP layer, allowing thousands of websites to share one Cloudflare IP and fielding the requests individually, since they all include the site names. The Java version of Minecraft uses raw TCP over port 25565, so the HTTP proxy has no way to know where it's supposed to go. Cloudflare Tunnel—the solution that many use to get around the need to port forward—doesn't work here either because it requires the client side to run cloudflared or Cloudflare's WARP client, which is fine for SSHing into a home lab device but not when you're trying to host a game server you want people to just connect to with an IP or hostname and nothing else. The official answer through Cloudflare has been Spectrum, which is their layer 4 proxy. Cloudflare opened it up for Minecraft on its Pro and Business plans in 2020, but Spectrum still needs an origin server it can reach directly, and its TCP applications can't use a Cloudflare Tunnel as that origin. So Cloudflare could protect a Minecraft server you'd already exposed to the internet, not necessarily with setting one up. Inbound TCP to Workers is how the magic happens This wasn't possible previously A new Spectrum feature is what has opened up the door for funky use cases like Minecraft hosting through a Cloudflare worker. Spectrum can now hand a TCP connection to a Worker instead of a server, and Cloudflare added this as part of a broader push to let Workers and Containers accept inbound TCP connections. The whole project is built on this new beta feature. When a player connects, Spectrum accepts the TCP connection and passes it to a Worker, which hands it to a Durable Object. The Durable Object starts a Cloudflare Container running Paper, which restores the latest copy of the world from R2 storage before it boots. From then on, the Durable Object relays traffic between the player and the server. After 10 minutes with nobody online, the server saves its world to R2 and goes to sleep. Because the Worker sees the raw bytes, it can read the Minecraft handshake itself. A server list refresh or a join attempt wakes the server, which takes about 30 seconds, longer for bigger worlds. Meanwhile, the server list shows a 'waking up' status, and anyone who tries to join gets disconnected with a message to try again in 30 seconds. For self-hosters, there's obviously a convenience advantage to this approach, but there's also no origin left to protect. You have no public IP to leak, no router port to forward, and no machine to patch, and CGNAT also doesn't matter in this configuration. Besides that though, it's basically just a neat demo for how Cloudflare containers can be used within its own ecosystem. You should probably just rent a server or host it yourself Cloudflare's free plan doesn't give you a Minecraft server I should make this very clear: this is not a cost-effective way to host a Minecraft server at all. Spectrum doesn't work on Cloudflare's Free plan, so you need a Pro zone on top of the Workers Paid plan, and the project's README estimates that at $25 to $30 a month before container time. A home lab runs on hardware you already own, so hosting there costs you nothing if you're able to, and a rented Minecraft host or a small VPS is much cheaper than these monthly Cloudflare plans. You also get less server for your dollar in the Cloudflare case. Each deployment runs one world, with no console, plugins, or mods, and for most people that removes most of the reason you'd want to run your own server in the first place. It's a cool way to use Cloudflare's ecosystem Minecraft Server on Orange Cloud is a neat way to run a server that sleeps when nobody's around, but it's no replacement for a server you control. You're far better off just hosting it on the hardware you own, or alternatively, hosting it through a provider. A VPS can also be a viable option, and they're good to have around for many more applications than just game servers.
Cloudflare can now run your Minecraft server, and it sleeps when nobody's online
Full Article
Original Source
Read the full article at Xda-developers →KhanList aggregates and links to publicly available news content. We do not host full articles from third-party sources. Always verify important information with original sources.