By using this site, you agree to the Privacy Policy and Terms of Use.
Accept
World of SoftwareWorld of SoftwareWorld of Software
  • News
  • Software
  • Mobile
  • Computing
  • Gaming
  • Videos
  • More
    • Gadget
    • Web Stories
    • Trending
    • Press Release
Search
  • Privacy
  • Terms
  • Advertise
  • Contact
Copyright © All Rights Reserved. World of Software.
Reading: Cloudflare Adds Node.js HTTP Servers to Cloudflare Workers
Share
Sign In
Notification Show More
Font ResizerAa
World of SoftwareWorld of Software
Font ResizerAa
  • Software
  • Mobile
  • Computing
  • Gadget
  • Gaming
  • Videos
Search
  • News
  • Software
  • Mobile
  • Computing
  • Gaming
  • Videos
  • More
    • Gadget
    • Web Stories
    • Trending
    • Press Release
Have an existing account? Sign In
Follow US
  • Privacy
  • Terms
  • Advertise
  • Contact
Copyright © All Rights Reserved. World of Software.
World of Software > News > Cloudflare Adds Node.js HTTP Servers to Cloudflare Workers
News

Cloudflare Adds Node.js HTTP Servers to Cloudflare Workers

News Room
Last updated: 2025/09/20 at 11:54 AM
News Room Published 20 September 2025
Share
SHARE

Cloudflare recently implemented the node:http client and server APIs in Cloudflare Workers, allowing developers to migrate existing Node.js applications to the serverless computing platform. These HTTP APIs enable popular Node.js frameworks, such as Express.js and Koa.js, to run on Workers.

Yagiz Nizipli and James M Snell, principal systems engineers at Cloudflare, write:

This significant addition brings familiar Node.js HTTP interfaces to the edge, enabling you to deploy existing Express.js, Koa, and other Node.js applications globally with zero cold starts, automatic scaling, and significantly lower latency for your users — all without rewriting your codebase.

To support HTTP client APIs, Cloudflare reimplemented the core node:http APIs by building on top of the standard fetch() API that Workers use natively, maintaining Node.js compatibility without significantly affecting performance. The wrapper approach supports standard HTTP methods, request and response headers, request and response bodies, streaming responses, and basic authentication.

However, the managed approach makes it impossible to support a subset of Node.js APIs. Among the current limitations and differences with a standard Node.js environment, the Agent API is provided but operates as a no-op, and trailers, early hints, and 1xx responses are not supported. Furthermore, since Workers handle TLS automatically, TLS-specific options are not supported.

The addition received positive feedback from the community, though some users noted that this feature should have been introduced earlier. Himanshu Kumar comments on X:

This unlocks exciting possibilities for serverless Node.js. A smoother transition means wider adoption and faster innovation.

Since Cloudflare Workers operate in a serverless environment, direct TCP connections are not available, and all networking operations are managed by services outside the Workers runtime, handling connection pooling, keeping connections warm, and managing egress IPs. Nizipli and Snell explain:

The server-side implementation is where things get particularly interesting. Since Workers can’t create traditional TCP servers listening on specific ports, we’ve created a bridge system that connects Node.js-style servers to the Workers request handling model.

When a developer creates an HTTP server and calls listen(port), instead of opening a TCP socket, the server is registered in an internal table within Worker, acting as a bridge between http.createServer executions and incoming fetch requests using the port number as the identifier. The developer should then perform either an automatic integration using the httpServerHandler method or a manual integration using the handleAsNodeRequest method.

According to the documentation, when using port-based routing, the port number acts as a routing key to determine which server handles requests, allowing multiple servers to coexist in the same Worker.

Cloudflare is not the only hyperscaler offering Node.js on its serverless computing platform, with Node.js runtimes also available for AWS Lambda, Google Cloud Run, and Azure Functions.

Sign Up For Daily Newsletter

Be keep up! Get the latest breaking news delivered straight to your inbox.
By signing up, you agree to our Terms of Use and acknowledge the data practices in our Privacy Policy. You may unsubscribe at any time.
Share This Article
Facebook Twitter Email Print
Share
What do you think?
Love0
Sad0
Happy0
Sleepy0
Angry0
Dead0
Wink0
Previous Article Tesla loses its head of Giga Shanghai to a Chinee energy firm · TechNode
Next Article The German group Scout24 buys photocasa and habitaclia from the EQT fund
Leave a comment

Leave a Reply Cancel reply

Your email address will not be published. Required fields are marked *

Stay Connected

248.1k Like
69.1k Follow
134k Pin
54.3k Follow

Latest News

Angie Fanspicy’s success: Online Creator to Malaysian Homeowner
Gadget
China steps up focus on battery swap as CATL joins battle with NIO · TechNode
Computing
AYANEO’s $70 gaming handheld plays a shocking amount of GameCube, PS2, and Saturn games
News
AI investments threatened by ‘fundamentally unreliable’ IoT connectivity | Computer Weekly
News

You Might also Like

News

AYANEO’s $70 gaming handheld plays a shocking amount of GameCube, PS2, and Saturn games

4 Min Read
News

AI investments threatened by ‘fundamentally unreliable’ IoT connectivity | Computer Weekly

4 Min Read
News

I made Google Maps way more useful with just a few tricks

8 Min Read
News

'Tulsa King' Season 3 Release Schedule: When New Episodes Hit Paramount Plus

2 Min Read
//

World of Software is your one-stop website for the latest tech news and updates, follow us now to get the news that matters to you.

Quick Link

  • Privacy Policy
  • Terms of use
  • Advertise
  • Contact

Topics

  • Computing
  • Software
  • Press Release
  • Trending

Sign Up for Our Newsletter

Subscribe to our newsletter to get our newest articles instantly!

World of SoftwareWorld of Software
Follow US
Copyright © All Rights Reserved. World of Software.
Welcome Back!

Sign in to your account

Lost your password?