Category: Uncategorized

  • Different Ways to Create Sever in NodeJS

    In this post, I’m gonna share all the ways I know to create a server in nodejs.

    So I found 4 ways or i can say four inbuilt nodejs modules to create a server in nodeJS:

    • Http module: this module can be used to create an http server which will use https protocol that means It is not secured. It is used to create http server or website.
    • Https module: this module is secure version of https module, to create sever using this module you’ll need SSL certificate and its private key. It is used to create https server or https websites.
    • Net module: this module is used to create server too but it handles raw tcp communication. It can be used to create tunnel, vpn or your custom protocol like https.
    • Tls module: this module is used to create secured server to handle row tcp communication. It can he also used to create vpn, tunnels or custom secured protocol like https.
  • Hello world!

    Welcome to my blog. This is my first post. My name is Bhanu Stark and I’m sharing my learnings and progress here.