shawnbuS
Denoβ€’3y agoβ€’
4 replies
shawnbu

Possible to have multiple http servers listening to different ports in the same module?

I'm porting a service mesh platform we wrote for NodeJS over to Deno and it is based on the idea of hosting multiple servers in the same module.

The only examples I can find for Deno's http server uses a for loop to handle requests which seems like it's blocking.

Is it possible to have different http server instances listening on different ports at the same time?
Was this page helpful?