# Fresh Discourse installation ERR\_CONNECTION\_TIMED\_OUT

**URL:** https://meta.discourse.org/t/fresh-discourse-installation-err-connection-timed-out/170878
**Category:** Self-hosting
**Created:** [November 21, 2020, 8:21pm UTC](https://meta.discourse.org/t/fresh-discourse-installation-err-connection-timed-out/170878 "2020-11-21T20:21:50Z")
**Posts on this page:** 12
**Page:** 1

<div class="post-metadata">

### Author: ![Text34](https://avatars.discourse-cdn.com/v4/letter/t/e0b2c6/32.png) [@Text34](https://meta.discourse.org/u/Text34)
#### Post date: [November 21, 2020, 8:21pm UTC](https://meta.discourse.org/t/fresh-discourse-installation-err-connection-timed-out/170878/1 "2020-11-21T20:21:50Z")

</div>

Hi, this is my first time setting up a site with a VPS. I’m using Digital Ocean and I followed this guide ([set-up-discourse-digital-ocean](https://linuxhandbook.com/set-up-discourse-digital-ocean)) step by step with a fresh install. This is I think my 4th time restarting and I can’t seem to figure this out. Every time I’ve installed I get some error where I can’t access my site. My domain DNS settings are managed through Digital Ocean. Not sure what information I need to provide for anyone to help me, so if you think you can help just let me know what you need.

My ufw settings are set to default deny incoming, allow outgoing, and allow in ports 80 and 443, but if I check on [www.portcheckers.com](http://www.portcheckers.com), it says they are all closed.

---

<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: [November 22, 2020, 4:45am UTC](https://meta.discourse.org/t/fresh-discourse-installation-err-connection-timed-out/170878/2 "2020-11-22T04:45:37Z")

</div>

Did you run discourse-setup? If you follow the [Discourse official Standard Installation](https://meta.discourse.org/t/discourse-official-standard-installation/142537) you’ll get some clues during installation.

It’s hard to guess without your domain name. My guess is that you are setting dns at digital ocean but those aren’t the name servers for your domain. Can you `ssh your.hostname`?

If you can ssh to your server then it’s a firewall issue.

---

<div class="post-metadata">

### Author: ![IAmGav](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/iamgav/32/235598_2.png) [@IAmGav](https://meta.discourse.org/u/IAmGav)
#### Post date: [November 22, 2020, 9:20am UTC](https://meta.discourse.org/t/fresh-discourse-installation-err-connection-timed-out/170878/3 "2020-11-22T09:20:07Z")

</div>

it seems that the marketplace discourse installs are faulty.

I would recommend you follow the install manual which @pfaffman also referred to

> [@Install Discourse in production with the official supported instructions](https://meta.discourse.org/t/discourse-official-standard-installation/142537):
>
> Our install guide lives in GitHub alongside Discourse code at [discourse/docs/INSTALL-cloud.md at main · discourse/discourse · GitHub](https://github.com/discourse/discourse/blob/main/docs/INSTALL-cloud.md). Last edited by @Falco 2026-02-04T21:00:34Z (UTC) play_button Check document

---

<div class="post-metadata">

### Author: ![Text34](https://avatars.discourse-cdn.com/v4/letter/t/e0b2c6/32.png) [@Text34](https://meta.discourse.org/u/Text34)
#### Post date: [November 22, 2020, 5:34pm UTC](https://meta.discourse.org/t/fresh-discourse-installation-err-connection-timed-out/170878/4 "2020-11-22T17:34:37Z")

</div>

I tried the first couple times with the [official install](https://meta.discourse.org/t/142537?silent=true) guide from github, but was still getting the same problems and couldn’t load up the site. I’ll try again fresh and see what happens

---

<div class="post-metadata">

### Author: ![Text34](https://avatars.discourse-cdn.com/v4/letter/t/e0b2c6/32.png) [@Text34](https://meta.discourse.org/u/Text34)
#### Post date: [November 22, 2020, 5:37pm UTC](https://meta.discourse.org/t/fresh-discourse-installation-err-connection-timed-out/170878/5 "2020-11-22T17:37:33Z")

</div>

My bad, forgot to say the my domain is [reigncommunity.com](http://reigncommunity.com). I tried to ssh like you said, but couldn’t connect to port 22. I’m going to reinstall with the official guide again and see where I end up

ssh: connect to host [reigncommunity.com](http://reigncommunity.com) port 22: Network is unreachable

---

<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: [November 22, 2020, 5:40pm UTC](https://meta.discourse.org/t/fresh-discourse-installation-err-connection-timed-out/170878/6 "2020-11-22T17:40:10Z")

</div>

> [@Text34](#):
>
> [reigncommunity.com](http://reigncommunity.com).

```plaintext
;; ANSWER SECTION:
reigncommunity.com. 299 IN A 104.27.155.153
reigncommunity.com. 299 IN A 172.67.187.79
reigncommunity.com. 299 IN A 104.27.154.153

```

My guess is that none of those is your droplet?

If you’re using cloudflare, you need to turn off the orange cloud.

If you have rebuilt a bunch of times, there’s a good bet that you’ve hit your let’s encrypt limits and won’t be able to get a certificate issued for a week or so.

---

<div class="post-metadata">

### Author: ![Text34](https://avatars.discourse-cdn.com/v4/letter/t/e0b2c6/32.png) [@Text34](https://meta.discourse.org/u/Text34)
#### Post date: [November 22, 2020, 5:44pm UTC](https://meta.discourse.org/t/fresh-discourse-installation-err-connection-timed-out/170878/7 "2020-11-22T17:44:51Z")

</div>

Yeah none of those are my droplet, and I did reach my lets encrypt limit, which is why I tried to use cloudflare for ssl. Should I just wait it out and use let’s encrypt?

---

<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: [November 22, 2020, 5:46pm UTC](https://meta.discourse.org/t/fresh-discourse-installation-err-connection-timed-out/170878/8 "2020-11-22T17:46:19Z")

</div>

You first need to create an A record that points to your droplet.

I’d recommend that you just start again and use `www.reigncommunity.com` for your site. It not only solves your immediate problem, but it’s a better idea anyway: [Ojktoto \> Ada Togel Online Terbaik Di Situs Toto Terpercaya](https://www.yes-www.org/why-use-www/)

---

<div class="post-metadata">

### Author: ![Text34](https://avatars.discourse-cdn.com/v4/letter/t/e0b2c6/32.png) [@Text34](https://meta.discourse.org/u/Text34)
#### Post date: [November 22, 2020, 6:03pm UTC](https://meta.discourse.org/t/fresh-discourse-installation-err-connection-timed-out/170878/9 "2020-11-22T18:03:26Z")

</div>

I just changed my nameservers in namecheap where I bought the domain to digital oceans so it’s all in the same place. Is this what you mean for my A records? This is what I had before I tried cloudflare and restarted

 ![image](https://global.discourse-cdn.com/meta/original/3X/8/7/872e545d3c39af0ba89c3d4f8563ef06d5dcc5cd.png)  
I just updated my current DNS settings the with the same A records pointing to my new droplet.

---

<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: [November 22, 2020, 6:12pm UTC](https://meta.discourse.org/t/fresh-discourse-installation-err-connection-timed-out/170878/10 "2020-11-22T18:12:57Z")

</div>

If you can now ssh to your droplet with the hostname, you migt be in good shape. See [http://forcewww.com/](http://forcewww.com/) to redirect your apex domain.

---

<div class="post-metadata">

### Author: ![Text34](https://avatars.discourse-cdn.com/v4/letter/t/e0b2c6/32.png) [@Text34](https://meta.discourse.org/u/Text34)
#### Post date: [November 22, 2020, 6:23pm UTC](https://meta.discourse.org/t/fresh-discourse-installation-err-connection-timed-out/170878/11 "2020-11-22T18:23:55Z")

</div>

I can ssh using my hostname now, here’s what I added in my DNS settings for forcewww

 ![image](https://global.discourse-cdn.com/meta/original/3X/5/e/5e1dffcbe71b6a8d908295ac46711ff502364069.png)

Edit: Finished installing discourse, I still get the same error. Not sure where to go from here, ufw is disabled

---

<div class="post-metadata">

### Author: ![tobiaseigen](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/tobiaseigen/32/539204_2.png) [@tobiaseigen](https://meta.discourse.org/u/tobiaseigen)
#### Post date: [May 6, 2025, 2:39pm UTC](https://meta.discourse.org/t/fresh-discourse-installation-err-connection-timed-out/170878/14 "2025-05-06T14:39:23Z")

</div>


