# Discourse deploy on lightsail: "connection refused"

**URL:** <https://meta.discourse.org/t/discourse-deploy-on-lightsail-connection-refused/236213>\
**Category:** Self-hosting\
**Created:** [August 15, 2022, 3:35pm UTC](https://meta.discourse.org/t/discourse-deploy-on-lightsail-connection-refused/236213 "2022-08-15T15:35:41Z")\
**Posts on this page:** 1\
**Showing post:** 2

<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:** [August 15, 2022, 3:50pm UTC](https://meta.discourse.org/t/discourse-deploy-on-lightsail-connection-refused/236213/2 "2022-08-15T15:50:46Z")

</div>

The problem is that your lightsail instance isn’t contactable externally. That’s what discourse-doctor was telling you - if you only opened port 443 this is probably why.

HTTPS on 443 isn’t going to work _until_ you have a certificate. You don’t have a certificate (and those certificate files are empty) because let’s encrypt was unable to enroll _due_ to the communications issue.

Assuming you assigned a static external address also open port 80 then try again. 80 will need to be open anyhow so that any client which connects via HTTP can be redirected.

---

_[View the full topic](https://meta.discourse.org/t/discourse-deploy-on-lightsail-connection-refused/236213)._
