# ./discourse-setup Error for ports

**URL:** https://meta.discourse.org/t/discourse-setup-error-for-ports/240070
**Category:** Self-hosting
**Created:** [September 26, 2022, 10:53am UTC](https://meta.discourse.org/t/discourse-setup-error-for-ports/240070 "2022-09-26T10:53:31Z")
**Posts on this page:** 8
**Page:** 1

<div class="post-metadata">

### Author: ![grousx](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/grousx/32/269630_2.png) [@grousx](https://meta.discourse.org/u/grousx)
#### Post date: [September 26, 2022, 10:53am UTC](https://meta.discourse.org/t/discourse-setup-error-for-ports/240070/1 "2022-09-26T10:53:31Z")

</div>

I trying to install with ./discourse-setup but it giving error WARNING: Port 443&80 cant resolve… I already opened ports and did DNS settings for my domain.

```plaintext
URL: zerionn.com

```

---

<div class="post-metadata">

### Author: ![JammyDodger](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/jammydodger/32/254611_2.png) [@JammyDodger](https://meta.discourse.org/u/JammyDodger)
#### Post date: [September 26, 2022, 11:00am UTC](https://meta.discourse.org/t/discourse-setup-error-for-ports/240070/2 "2022-09-26T11:00:11Z")

</div>

Do you have a firewall that may be blocking them?

---

<div class="post-metadata">

### Author: ![grousx](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/grousx/32/269630_2.png) [@grousx](https://meta.discourse.org/u/grousx)
#### Post date: [September 26, 2022, 11:13am UTC](https://meta.discourse.org/t/discourse-setup-error-for-ports/240070/3 "2022-09-26T11:13:54Z")

</div>

There is Oracle’s hardware firewall but i configured that. i also disabled the software firewall.

---

<div class="post-metadata">

### Author: ![pfaffman](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/pfaffman/32/120154_2.png) [@pfaffman](https://meta.discourse.org/u/pfaffman)
#### Post date: [September 26, 2022, 11:25am UTC](https://meta.discourse.org/t/discourse-setup-error-for-ports/240070/4 "2022-09-26T11:25:39Z")

</div>

Does that domain name resolve directly to the vm?

Hmm. It looks like you’ve got discourse running there but there is some other problem now?

---

<div class="post-metadata">

### Author: ![grousx](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/grousx/32/269630_2.png) [@grousx](https://meta.discourse.org/u/grousx)
#### Post date: [September 26, 2022, 11:30am UTC](https://meta.discourse.org/t/discourse-setup-error-for-ports/240070/5 "2022-09-26T11:30:34Z")

</div>

Yes i using Cloudflare’s DNS-only setting.

Now i installed with modifying app.yml and running ./launcher rebuild app. Now i have ERR\_CONNECTION\_REFUSED

---

<div class="post-metadata">

### Author: ![Stephen](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/stephen/32/95011_2.png) [@Stephen](https://meta.discourse.org/u/Stephen)
#### Post date: [September 26, 2022, 11:45am UTC](https://meta.discourse.org/t/discourse-setup-error-for-ports/240070/6 "2022-09-26T11:45:21Z")

</div>

Because you didn’t resolve your connectivity issue.

The reason `discourse-setup` will fail if connectivity isn’t working is because let’s-encrypt will fail to enrol a certificate. You get a finite number of tries to do this per week.

You need to resolve the connectivity problem before you rebuild your instance.

---

<div class="post-metadata">

### Author: ![pfaffman](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/pfaffman/32/120154_2.png) [@pfaffman](https://meta.discourse.org/u/pfaffman)
#### Post date: [September 26, 2022, 11:47am UTC](https://meta.discourse.org/t/discourse-setup-error-for-ports/240070/7 "2022-09-26T11:47:14Z")

</div>

What did you change?

I’m getting an “oops” page, suggesting that Discourse is running but that there is a problem, perhaps with the database.

---

<div class="post-metadata">

### Author: ![grousx](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/grousx/32/269630_2.png) [@grousx](https://meta.discourse.org/u/grousx)
#### Post date: [September 26, 2022, 11:48am UTC](https://meta.discourse.org/t/discourse-setup-error-for-ports/240070/8 "2022-09-26T11:48:58Z")

</div>

I just downloaded the Discourse with ./launcher rebuild app ?
