DenoDDeno
Powered by
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?
Deno banner
DenoJoin
Chat about Deno, a modern runtime for JavaScript and TypeScript.
20,934Members
Resources
Recent Announcements

Similar Threads

Was this page helpful?

Similar Threads

'Spawn' multiple promises from the same module
jooJjoo / help
3y ago
Is it possible to rename a module in third party modules?
elekramEelekram / help
4y ago
Deno Deploy - is it possible to have 2 servers running?
wingerlangWwingerlang / help
3y ago
Is it possible to share the same privateLink in Deno Subhosting?
Bosn MaBBosn Ma / help
3y ago