# Discourse rebuild fails with port 443 in use

**URL:** <https://meta.discourse.org/t/discourse-rebuild-fails-with-port-443-in-use/53615>\
**Category:** Product Support\
**Tags:** unsupported-install\
**Created:** [2016 年 12 月 1 日午前 5:44 UTC](https://meta.discourse.org/t/discourse-rebuild-fails-with-port-443-in-use/53615 "2016-12-01T05:44:45Z")\
**Posts on this page:** 1\
**Showing post:** 10

<div class="post-metadata">

**Author:** ![Falco](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/falco/32/179432_2.png) [@Falco](https://meta.discourse.org/u/Falco)\
**Post date:** [2016 年 12 月 1 日午後 2:37 UTC](https://meta.discourse.org/t/discourse-rebuild-fails-with-port-443-in-use/53615/10 "2016-12-01T14:37:36Z")

</div>

First, like I said:

> If you installed it by accident it may be safe to remove.

Looking again trough your pastebin:

1. Your SMTP user & password is there, please remove

2. You were setting Discourse to a higher port, so you were using nginx to host anything else right? So you shouldn’t remove the outside nginx

3. IF you are running a reverse proxy outside the docker container, you can’t use the Let’s Encrypt template inside the docker container. You must get SSL in another way.

---

_[View the full topic](https://meta.discourse.org/t/discourse-rebuild-fails-with-port-443-in-use/53615)._
