# 需要快速排查安装问题

**URL:** https://meta.discourse.org/t/need-a-fast-troubleshoot-installation/89866
**Category:** Self-hosting
**Created:** [2018年六月14日 10:07 UTC](https://meta.discourse.org/t/need-a-fast-troubleshoot-installation/89866 "2018-06-14T10:07:45Z")
**Posts on this page:** 4
**Page:** 1

<div class="post-metadata">

### Author: ![Daniel\_Nevoigt](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/daniel_nevoigt/32/92920_2.png) [@Daniel\_Nevoigt](https://meta.discourse.org/u/Daniel_Nevoigt)
#### Post date: [2018年六月14日 10:07 UTC](https://meta.discourse.org/t/need-a-fast-troubleshoot-installation/89866/1 "2018-06-14T10:07:46Z")

</div>

Hello mates,

hope you guys have a solution for my problem.  
Just installed discourse on a Ubuntu 16.04 System with Plesk on it, using [this guide](https://meta.discourse.org/t/installing-discourse-with-plesk-onyx-ubuntu-14-04/65602) and [the official setup guide](https://github.com/discourse/discourse/blob/master/docs/INSTALL-cloud.md).

very straightforward guide. I made every step as described, but I will point them here again fast:

1. created subdomain in plesk panel  
~~2. edited discourse-setup to use port 8060 & 9443~~
2. edited discourse-setup to: check\_port “8060” & check\_port “9443”
3. performed install like described in github
4. edited app.yml to use described ports 8060:80 & 9443:443
5. rebuild app
6. for the subdomain edited nginx proxy rules, btw. added the rule for 8060:80

Error in brwoser is 502 Bad Gateway, nginx and in Plesk error logs from the subdomain:  
`2938#0: *341 recv() failed (104: Connection reset by peer) while reading response header from upstream`

I am out of mind now, I don´t know what to do…😥

Cheers, Daniel

---

<div class="post-metadata">

### Author: ![codinghorror](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/codinghorror/32/110067_2.png) [@codinghorror](https://meta.discourse.org/u/codinghorror)
#### Post date: [2018年六月14日 10:09 UTC](https://meta.discourse.org/t/need-a-fast-troubleshoot-installation/89866/2 "2018-06-14T10:09:47Z")

</div>

Discourse only works on the default ports (80 / http and 443 / https). If you need different ports you will have to proxy externally.

---

<div class="post-metadata">

### Author: ![Daniel\_Nevoigt](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/daniel_nevoigt/32/92920_2.png) [@Daniel\_Nevoigt](https://meta.discourse.org/u/Daniel_Nevoigt)
#### Post date: [2018年六月14日 10:15 UTC](https://meta.discourse.org/t/need-a-fast-troubleshoot-installation/89866/3 "2018-06-14T10:15:25Z")

</div>

Sorry, my english, I meant in point 2 not use ports, check ports I meant. Without that I couldn´t use ./discourse-setup. If that was wrong, please point me to the right direction

---

<div class="post-metadata">

### Author: ![Daniel\_Nevoigt](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/daniel_nevoigt/32/92920_2.png) [@Daniel\_Nevoigt](https://meta.discourse.org/u/Daniel_Nevoigt)
#### Post date: [2018年六月14日 11:03 UTC](https://meta.discourse.org/t/need-a-fast-troubleshoot-installation/89866/4 "2018-06-14T11:03:34Z")

</div>

It´s a problem with ssl config. I just found out and got it started.
