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.

Comments

13 responses to “Different Ways to Create Sever in NodeJS”

  1. lisinopril 20 mg

    lisinopril 20 mg

  2. atorvastatin 40 mg tablet

    atorvastatin 40 mg tablet

  3. reglan injection

    reglan injection

  4. ivermectin lotion

    ivermectin lotion

  5. doxycycline

    doxycycline

  6. remeron weight gain

    remeron weight gain

  7. diflucan generic cost without insurance

    diflucan generic cost without insurance

  8. macrobid generic for uti

    macrobid generic for uti

  9. fluconazole 150 mg

    fluconazole 150 mg

  10. sildenafil and bph

    sildenafil and bph

  11. cenforce 150 side effects

    cenforce 150 side effects

  12. vidalista tablet price

    vidalista tablet price

  13. vidalista 10 mg reviews

    vidalista 10 mg reviews

Leave a Reply