# Discourse install problem

**URL:** https://meta.discourse.org/t/discourse-install-problem/169800
**Category:** Self-hosting
**Created:** [November 11, 2020, 4:11am UTC](https://meta.discourse.org/t/discourse-install-problem/169800 "2020-11-11T04:11:18Z")
**Posts on this page:** 13
**Page:** 1

<div class="post-metadata">

### Author: ![e-learning-109](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/e-learning-109/32/209786_2.png) [@e-learning-109](https://meta.discourse.org/u/e-learning-109)
#### Post date: [November 11, 2020, 4:11am UTC](https://meta.discourse.org/t/discourse-install-problem/169800/1 "2020-11-11T04:11:18Z")

</div>

Hi, I’m a new guy for install discourse .I am facing this problem .  
When this step I input command " ./disdourse-setup"  
my Terminal don’t show message "Ports 80 and 443 are free for use "  
then show this message

"WARNING: Port 443 of computer does not appear to be accessible using hostname: "  
“Connection to [http://elearning109.zapto.org/](http://elearning109.zapto.org/)(port 80) also fails.” etc.

How can i deal with this problem? thanks.

---

<div class="post-metadata">

### Author: ![itsbhanusharma](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/itsbhanusharma/32/180717_2.png) [@itsbhanusharma](https://meta.discourse.org/u/itsbhanusharma)
#### Post date: [November 11, 2020, 4:16am UTC](https://meta.discourse.org/t/discourse-install-problem/169800/2 "2020-11-11T04:16:49Z")

</div>

You’ll have to see what service is listening to Ports 80 & 443. I’m assuming you’re trying to install discourse on a server with an existing website? If yes, You’ll have to temproarily shut down the web server to install discourse then configure discourse to run behind your existing webserver.

If no, You can check if a webserver is already running using command `netstat -alpn | grep 80` or `netstat -alpn | grep 443`

---

<div class="post-metadata">

### Author: ![e-learning-109](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/e-learning-109/32/209786_2.png) [@e-learning-109](https://meta.discourse.org/u/e-learning-109)
#### Post date: [November 11, 2020, 5:05am UTC](https://meta.discourse.org/t/discourse-install-problem/169800/3 "2020-11-11T05:05:30Z")

</div>

Okay, I will check the port according to your suggestion, but my nginx service is working normally, I just wonder why the sentence “Ports 80 and 443 are free for use” is not displayed during the installation process.

---

<div class="post-metadata">

### Author: ![e-learning-109](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/e-learning-109/32/209786_2.png) [@e-learning-109](https://meta.discourse.org/u/e-learning-109)
#### Post date: [November 11, 2020, 5:23am UTC](https://meta.discourse.org/t/discourse-install-problem/169800/4 "2020-11-11T05:23:12Z")

</div>

Forgot to say, my system is ubuntu20.04.1 version, and the domain “[http://elearning109.zapto.org/](http://elearning109.zapto.org/)” is currently operating, which is the problem of discourse installation stuck in port setting.

---

<div class="post-metadata">

### Author: ![itsbhanusharma](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/itsbhanusharma/32/180717_2.png) [@itsbhanusharma](https://meta.discourse.org/u/itsbhanusharma)
#### Post date: [November 11, 2020, 5:24am UTC](https://meta.discourse.org/t/discourse-install-problem/169800/5 "2020-11-11T05:24:04Z")

</div>

The sentence is being displayed because of nginx running on the server.

---

<div class="post-metadata">

### Author: ![e-learning-109](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/e-learning-109/32/209786_2.png) [@e-learning-109](https://meta.discourse.org/u/e-learning-109)
#### Post date: [November 11, 2020, 5:58am UTC](https://meta.discourse.org/t/discourse-install-problem/169800/6 "2020-11-11T05:58:47Z")

</div>

When the external network is connected to “[http://elearning109.zapto.org/](http://elearning109.zapto.org/)”, the internal network ip is port forwarded through the router. Could it be that port:80 is occupied because of this?

---

<div class="post-metadata">

### Author: ![e-learning-109](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/e-learning-109/32/209786_2.png) [@e-learning-109](https://meta.discourse.org/u/e-learning-109)
#### Post date: [November 11, 2020, 10:30am UTC](https://meta.discourse.org/t/discourse-install-problem/169800/7 "2020-11-11T10:30:19Z")

</div>

Thank you, I success connect the port:80 through your method, but port 443 still has problems.

---

<div class="post-metadata">

### Author: ![e-learning-109](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/e-learning-109/32/209786_2.png) [@e-learning-109](https://meta.discourse.org/u/e-learning-109)
#### Post date: [November 11, 2020, 10:33am UTC](https://meta.discourse.org/t/discourse-install-problem/169800/8 "2020-11-11T10:33:09Z")

</div>

The message display  
Hostname for your Discourse? [[discourse.example.com](http://discourse.example.com)]:

Checking your domain name . . .  
WARNING: Port 443 of computer does not appear to be accessible using hostname:

SUCCESS: A connection to port 80 succeeds!  
This suggests that your DNS settings are correct,  
but something is keeping traffic to port 443 from getting to your server.  
Check your networking configuration to see that connections to port 443 are allowed.

The first thing to do is confirm that resolves to the IP address of this server.  
You usually do this at the same place you purchased the domain.

If you are sure that the IP address resolves correctly, it could be a firewall issue.  
A web search for “open ports YOUR CLOUD SERVICE” might help.

This tool is designed only for the most standard installations. If you cannot resolve  
the issue above, you will need to edit containers/app.yml yourself and then type

./launcher rebuild app

---

<div class="post-metadata">

### Author: ![itsbhanusharma](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/itsbhanusharma/32/180717_2.png) [@itsbhanusharma](https://meta.discourse.org/u/itsbhanusharma)
#### Post date: [November 11, 2020, 12:12pm UTC](https://meta.discourse.org/t/discourse-install-problem/169800/9 "2020-11-11T12:12:22Z")

</div>

This may be due to You using a free subdomain from noip

---

<div class="post-metadata">

### Author: ![e-learning-109](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/e-learning-109/32/209786_2.png) [@e-learning-109](https://meta.discourse.org/u/e-learning-109)
#### Post date: [November 11, 2020, 12:53pm UTC](https://meta.discourse.org/t/discourse-install-problem/169800/10 "2020-11-11T12:53:09Z")

</div>

My router can’t setting https and port 443 only can setting port 80 and http .

---

<div class="post-metadata">

### Author: ![pfaffman](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/pfaffman/32/120154_2.png) [@pfaffman](https://meta.discourse.org/u/pfaffman)
#### Post date: [November 11, 2020, 1:22pm UTC](https://meta.discourse.org/t/discourse-install-problem/169800/11 "2020-11-11T13:22:35Z")

</div>

Then you’ll need to configure discourse manually or run it somewhere that allows access to port 443

---

<div class="post-metadata">

### Author: ![e-learning-109](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/e-learning-109/32/209786_2.png) [@e-learning-109](https://meta.discourse.org/u/e-learning-109)
#### Post date: [November 12, 2020, 12:29am UTC](https://meta.discourse.org/t/discourse-install-problem/169800/12 "2020-11-12T00:29:02Z")

</div>

Thanks my problem was sloved.

---

<div class="post-metadata">

### Author: ![system](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/system/32/443519_2.png) [@system](https://meta.discourse.org/u/system)
#### Post date: [December 12, 2020, 12:32am UTC](https://meta.discourse.org/t/discourse-install-problem/169800/13 "2020-12-12T00:32:18Z")

</div>

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.
