# Is there any reason why i wouldn't be able to have a nodeJS server within my canister?

**URL:** <https://forum.dfinity.org/t/is-there-any-reason-why-i-wouldnt-be-able-to-have-a-nodejs-server-within-my-canister/8974>\
**Category:** Developers\
**Created:** [November 20, 2021, 6:21pm UTC](https://forum.dfinity.org/t/is-there-any-reason-why-i-wouldnt-be-able-to-have-a-nodejs-server-within-my-canister/8974 "2021-11-20T18:21:42Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Jesse](https://sea1.discourse-cdn.com/flex023/user_avatar/forum.dfinity.org/jesse/32/37836_2.png) [@Jesse](https://forum.dfinity.org/u/Jesse)\
**Post date:** [November 20, 2021, 6:21pm UTC](https://forum.dfinity.org/t/is-there-any-reason-why-i-wouldnt-be-able-to-have-a-nodejs-server-within-my-canister/8974/1 "2021-11-20T18:21:42Z")

</div>

I want to create a nodeJS server for storing and streaming videos in my app. Is there any reason why i wouldn’t be able to do that on the IC? just checking before i begin the work.

---

<div class="post-metadata">

**Author:** ![coin\_master](https://sea1.discourse-cdn.com/flex023/user_avatar/forum.dfinity.org/coin_master/32/15963_2.png) [@coin\_master](https://forum.dfinity.org/u/coin_master)\
**Post date:** [November 21, 2021, 5:51am UTC](https://forum.dfinity.org/t/is-there-any-reason-why-i-wouldnt-be-able-to-have-a-nodejs-server-within-my-canister/8974/2 "2021-11-21T05:51:15Z")

</div>

Well one of many limitations is that you can’t run javascript in canisters, at least not yet [TypeScript/JavaScript CDK for the Internet Computer.](https://github.com/lastmjs/azle)  
Another limitation is streaming through canisters, there’s some issue with that, you can follow  
[DSocial](https://twitter.com/DSocialApp) for more info.

---

<div class="post-metadata">

**Author:** ![rossberg](https://sea1.discourse-cdn.com/flex023/user_avatar/forum.dfinity.org/rossberg/32/795_2.png) [@rossberg](https://forum.dfinity.org/u/rossberg)\
**Post date:** [November 22, 2021, 8:27am UTC](https://forum.dfinity.org/t/is-there-any-reason-why-i-wouldnt-be-able-to-have-a-nodejs-server-within-my-canister/8974/3 "2021-11-22T08:27:01Z")

</div>

In theory, somebody might build (1) a production-quality JS engine that runs on Wasm, (2) port node.js to that engine, (3) make the port compile into Wasm as well, (4) make all this run on the IC, where most OS services that node.js uses (like files, I/O, processes) are not available.

In practice, it is not likely that anybody would be keen on doing this.
