# Activate HTTPS inside Grafana docker

**URL:** <https://community.grafana.com/t/activate-https-inside-grafana-docker/84315>\
**Category:** Configuration\
**Tags:** docker, config-help, ssl\
**Created:** [March 22, 2023, 11:34am UTC](https://community.grafana.com/t/activate-https-inside-grafana-docker/84315 "2023-03-22T11:34:06Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![alexcoen](https://avatars.discourse-cdn.com/v4/letter/a/5f8ce5/32.png) [@alexcoen](https://community.grafana.com/u/alexcoen)\
**Post date:** [March 22, 2023, 11:34am UTC](https://community.grafana.com/t/activate-https-inside-grafana-docker/84315/1 "2023-03-22T11:34:07Z")

</div>

I have the problem that I receive following errormessage during activating https on grafana docker:  
Error: ✗ \*api.HTTPServer run error: failed to open listener on address [grafana.testnet.net:3000](http://grafana.testnet.net:3000): listen tcp 192.51.96.105:3000: bind: cannot assign requested address

Somebody knows the solution for my issue?

Thank you in advance.

---

<div class="post-metadata">

**Author:** ![pooh](https://avatars.discourse-cdn.com/v4/letter/p/f05b48/32.png) [@pooh](https://community.grafana.com/u/pooh)\
**Post date:** [March 22, 2023, 11:55am UTC](https://community.grafana.com/t/activate-https-inside-grafana-docker/84315/2 "2023-03-22T11:55:16Z")

</div>

[grafana.testnet.net](http://grafana.testnet.net) resolves to 13.248.169.48 and 76.223.54.146

192.51.96.105 is an address allocated by JNIC in Japan

I recommend you use genuinely internal-only domain names and RFC1918 addresses  
unless you really are working on a public-Internet server, in which case you  
need IP address and hostname to match up.

Antony.

---

<div class="post-metadata">

**Author:** ![alexcoen](https://avatars.discourse-cdn.com/v4/letter/a/5f8ce5/32.png) [@alexcoen](https://community.grafana.com/u/alexcoen)\
**Post date:** [March 22, 2023, 11:58am UTC](https://community.grafana.com/t/activate-https-inside-grafana-docker/84315/3 "2023-03-22T11:58:47Z")

</div>

Sorry the adress and the domain I used are made up because don’t want to post original domain and ip

---

<div class="post-metadata">

**Author:** ![pooh](https://avatars.discourse-cdn.com/v4/letter/p/f05b48/32.png) [@pooh](https://community.grafana.com/u/pooh)\
**Post date:** [March 22, 2023, 12:22pm UTC](https://community.grafana.com/t/activate-https-inside-grafana-docker/84315/4 "2023-03-22T12:22:54Z")

</div>

Okay, well, does the actual IP address show in your error message correspond  
to the machine which you’ve called “[grafana.testnet.net](http://grafana.testnet.net)” in your posting?

Antony.
