# When is port 80 available?

**URL:** <https://meta.discourse.org/t/when-is-port-80-available/125930>\
**Category:** Self-hosting\
**Tags:** hosting\
**Created:** [15 באוגוסט,‏ 2019,‏ 9:41pm UTC](https://meta.discourse.org/t/when-is-port-80-available/125930 "2019-08-15T21:41:40Z")\
**Posts on this page:** 1\
**Showing post:** 1

<div class="post-metadata">

**Author:** ![markwill](https://avatars.discourse-cdn.com/v4/letter/m/90db22/32.png) [@markwill](https://meta.discourse.org/u/markwill)\
**Post date:** [15 באוגוסט,‏ 2019,‏ 9:41pm UTC](https://meta.discourse.org/t/when-is-port-80-available/125930/1 "2019-08-15T21:41:40Z")

</div>

I am a little confused about when a new Docker-based install of Discourse exposes port 80. Let me explain…

When I run ./discourse-setup I assume that the initial questions (host name, eMail address, etc) are all presented BEFORE the container is created and therefore before Discourse is exposing port 80. Is that correct?

If so, doesn’t that present a bit of a catch-22 when entering a host name?

I have created my A record (and it’s pingable, via host name). But port 80 is not open. I **think** I understand why, namely the container is not yet created.

But if that is the case, how can that initial verification of the host name ever work, if it’s verifying it before the container is created.

Obviously I have a bad assumption here so can someone please put me out of my misery?

Thank you.

---

_[View the full topic](https://meta.discourse.org/t/when-is-port-80-available/125930)._
