Unable To Connect/Connection Refused


(Gregory Matthews) #1

We successfully installed Discourse through DigitalOcean using the following guide:

Our DNS is fully propagated, and we also installed our SSL CERTS per the following guide:

When browsing to our Discourse installation via IP or domain name, we get the following message:

This site can’t be reached

XX.XX.XX.XX refused to connect.
Try:
Checking the connection
Checking the proxy and the firewall
ERR_CONNECTION_REFUSED

What could be the problem?


(Jeff Atwood) #2

Almost certainly a SSL problem. Try rebuilding with plain HTTP first to make sure everything is working before adding on the complexity of HTTPS.


(Jay Pfaffman) #3

Using let’s encrypt is an easy way to get ssl.


(Gregory Matthews) #4

… thanks for your help.


(Kirupa Chinnathambi) #5

I am running into this same issue, To rebuild with plain HTTP, does that require just commenting out the SSL template line in app.yml?


(Jay Pfaffman) #6

Yes, but browsers that have visited your site will refuse to connect. You really should use https.