Troubleshooting Port Access

I’m attempting to install Discourse on Digital Ocean… When I type the host name I get this error

Hostname for your Discourse? []:

Checking your domain name . . .

WARNING: Port 443 of the computer does not appear to be accessible using hostname:

WARNING: Connection to (port 80) also fails.

I’m using
and Digital Ocean

Namecheap nameservers point to Cloudflare, Cloudflare A records point to digital ocean IP address. I’m not sure what the issue is?

When I navigate to the URL on a browser it says the browser is fine, Cloudflare is working and the host is the issue…

Any suggestions on what might be wrong?

the dns record has not been set or is not active.

once this is done, then discourse will install

I have 2 A records in cloudflare that point to Digital Ocean… isn’t that the only DNS records needed? I also have a number of cname set up but that is for sendgrid

I’d suspect that You’ve got cloudflare configured in Proxy mode. Disable that and You’ll be good to go.

1 Like

Thanks… I have all of the orange clouds set to gray DNS only

hmm… So if I enter in the hostname simply as it will connect… however if I enter it as then it can’t reach the port… are you not supposed to include discourse in the host name?

something is blocking it to connect

ahh sorry… I was editing the doamin name… it’s supposed to be

It seems to have completed the install when I only used as the host… if I use then the error happens

But I’m not able to access the page when I go to that host name

can you take a screen shot of the a records

there should be an A record for discourse

Ohhh… Do I configure it like this

Name = discourse
type = A
Content = (ip address of droplet)

ok cool I’ll run through it again

Making progress I think!

It seems to have installed and when I go to the domain now it’s showing this

Welcome to nginx!

If you see this page, the nginx web server is successfully installed and working. Further configuration is required.

For online documentation and support please refer to
Commercial support is available at

Thank you for using nginx.

sorry never mind! I see I dont need to add discourse to the url… it works thanks so much for the help!

you pointed the dns to the droplet, but your app.yml still says your domain is discourse.domain

change the domain name in the app.yml to and then rebuild the app

cd /var/discourse
./launcher rebuild app

got it… just reloaded it and now it looks like the SSL is not implemented… maybe I just need to rebuild the entire thing… distry this instance and launch a new one and update the ips?