question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Https doesn't work

See original GitHub issue

record http-server -p 9090 -S

Starting up http-server, serving ./ through https
Available on:
  https:127.0.0.1:9090
  https:10.0.3.117:9090
Hit CTRL-C to stop the server

Hitting https://127.0.0.1:9090 in chrome says localhost unexpectedly closed the connection.

I’ve created the cert and key files using https://docs.nodejitsu.com/articles/HTTP/servers/how-to-create-a-HTTPS-server

Issue Analytics

  • State:closed
  • Created 7 years ago
  • Comments:7 (2 by maintainers)

github_iconTop GitHub Comments

1reaction
derhuerstcommented, Apr 11, 2016

I can confirm this with http-server@0.9.0, both Chromium and Firefox.

With an old script of mine, it works however.

0reactions
thornjadcommented, Apr 15, 2019

Closing due to inactivity. Please reopen if this issue persists in the latest version of http-server!

Read more comments on GitHub >

github_iconTop Results From Across the Web

Why is SSL/HTTPS not working on my site? - Support | one.com
There can be several reasons why SSL/HTTPS is not working on your site. Please see if one of the causes listed below helps...
Read more >
HTTPS sites not opening in any browser on Windows computer
HTTPS sites not opening in any browser · 1] Change time · 2] Clear SSL cache · 3] Verify SSL certificates · 4]...
Read more >
HTTPS Not Working in Chrome: How to Fix SSL Cerificate Errors
How do I fix HTTPS error on Chrome? · 1. Clear the SSL Cache · 2. Flush the DNS Cache · 3. Adjust...
Read more >
How to Fix the HTTPS Not Secure Error - Seer Interactive
HTTPS stands for “Hypertext Transfer Protocol Secure”. ... on the page that you want to investigate, enter Ctrl+Shift+i to open DevTools.
Read more >
HTTP sites are not working while HTTPS sites are ... - Quora
Best way to check is to try the same website on firefox or other browser · if its chrome specific issue or an...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found