0

Is there a way I can get my node.js app to run on https://localhost:3000 instead of on the default http://localhost:3000? I need to add the additional https to test certain features.

Thanks in advance!

Pavan Andhukuri
  • 1,547
  • 3
  • 23
  • 49
Trung Tran
  • 13,141
  • 42
  • 113
  • 200

1 Answers1

0

Yes, head over to one of these links - https://nodejs.org/dist/latest-v5.x/docs/api/https.html or https://nodejs.org/dist/latest-v4.x/docs/api/https.html

Blago Eres
  • 1,328
  • 12
  • 17