# Localhost:3000 works but https I cannot get working

**URL:** <https://community.auth0.com/t/localhost-3000-works-but-https-i-cannot-get-working/65697>\
**Category:** Get Help\
**Created:** [July 6, 2021, 8:46pm UTC](https://community.auth0.com/t/localhost-3000-works-but-https-i-cannot-get-working/65697 "2021-07-06T20:46:03Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![admin55](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/admin55/32/12951_2.png) [@admin55](https://community.auth0.com/u/admin55)\
**Post date:** [July 6, 2021, 8:46pm UTC](https://community.auth0.com/t/localhost-3000-works-but-https-i-cannot-get-working/65697/1 "2021-07-06T20:46:03Z")

</div>

Hello, when I use [http://localhost:3000](http://localhost:3000) I get a working page.

when I goto [http://myIP:3000](http://myIP:3000) I get the index.html page - but NO LOGIN button.  
then witih [https://myServerDNSName:3000](https://myServerDNSName:3000) I get a “this site cannot be reached” page.

How do I get something other than localhost to work ?  
Thank you.

Jerry

---

<div class="post-metadata">

**Author:** ![colin.coutts](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/colin.coutts/32/17217_2.png) [@colin.coutts](https://community.auth0.com/u/colin.coutts)\
**Post date:** [July 6, 2021, 9:05pm UTC](https://community.auth0.com/t/localhost-3000-works-but-https-i-cannot-get-working/65697/2 "2021-07-06T21:05:28Z")

</div>

Hi @admin55 thanks for reaching out.

This isn’t an Auth0 specific issue per se, but it does sound like you’d need to set up your localhost to use HTTPS. This article explains how to generate an SSL cert and configure it for localhost:

> **[How to get HTTPS working on your local development environment in 5 minutes](https://www.freecodecamp.org/news/how-to-get-https-working-on-your-local-development-environment-in-5-minutes-7af615770eec/)**
>
> Almost any website you visit today is protected by HTTPS. If yours isn’t yet, it should be \[https://developers.google.com/web/fundamentals/security/encrypt-in-transit/why-https\] . Securing your server with HTTPS also means that you can’t send...

Let me know if that helps.

Best,  
Colin

---

<div class="post-metadata">

**Author:** ![admin55](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/admin55/32/12951_2.png) [@admin55](https://community.auth0.com/u/admin55)\
**Post date:** [July 6, 2021, 9:42pm UTC](https://community.auth0.com/t/localhost-3000-works-but-https-i-cannot-get-working/65697/3 "2021-07-06T21:42:41Z")

</div>

Hi Colin - Sorry - I did not say I have https running just fine on the server with letsencrypt. Its just using that with Auth0 that is not working.

Thanks

Jerry

---

<div class="post-metadata">

**Author:** ![milos.spasovski](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/milos.spasovski/32/12765_2.png) [@milos.spasovski](https://community.auth0.com/u/milos.spasovski)\
**Post date:** [July 7, 2021, 10:47am UTC](https://community.auth0.com/t/localhost-3000-works-but-https-i-cannot-get-working/65697/4 "2021-07-07T10:47:04Z")

</div>

Hello @admin55, I suggest using webpack to achieve this. Take a look at webpack

all you need to do is

```auto
devServer{
https:true
}

```

Or set other parameters to your linking, this will sort your problem.

---

<div class="post-metadata">

**Author:** ![konrad.sopala](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/konrad.sopala/32/13516_2.png) [@konrad.sopala](https://community.auth0.com/u/konrad.sopala)\
**Post date:** [July 7, 2021, 12:33pm UTC](https://community.auth0.com/t/localhost-3000-works-but-https-i-cannot-get-working/65697/5 "2021-07-07T12:33:38Z")

</div>

Thanks a lot for sharing it with the rest of community!

---

<div class="post-metadata">

**Author:** ![system](https://global.discourse-cdn.com/auth0/original/3X/b/5/b560f266932fcce5d57f09a6595bd50518cae3f3.jpeg) [@system](https://community.auth0.com/u/system)\
**Post date:** [July 22, 2021, 12:33pm UTC](https://community.auth0.com/t/localhost-3000-works-but-https-i-cannot-get-working/65697/6 "2021-07-22T12:33:43Z")

</div>

This topic was automatically closed 15 days after the last reply. New replies are no longer allowed.
