# My forum goes offline after removing https

**URL:** https://meta.discourse.org/t/my-forum-goes-offline-after-removing-https/81115
**Category:** Self-hosting
**Created:** [February 21, 2018, 5:46am UTC](https://meta.discourse.org/t/my-forum-goes-offline-after-removing-https/81115 "2018-02-21T05:46:03Z")
**Posts on this page:** 20
**Page:** 1

<div class="post-metadata">

### Author: ![burningman](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/burningman/32/120064_2.png) [@burningman](https://meta.discourse.org/u/burningman)
#### Post date: [February 21, 2018, 5:46am UTC](https://meta.discourse.org/t/my-forum-goes-offline-after-removing-https/81115/1 "2018-02-21T05:46:03Z")

</div>

One of my forum goes offline. I checked on sever but everything is working fine on server side.  
Another forum is working fine but one goes offline.

Is anyone here facing this issue.

It will be great if anyone here will share how and when forum comes back online.

Thanks

---

<div class="post-metadata">

### Author: ![burningman](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/burningman/32/120064_2.png) [@burningman](https://meta.discourse.org/u/burningman)
#### Post date: [February 21, 2018, 8:08am UTC](https://meta.discourse.org/t/my-forum-goes-offline-after-removing-https/81115/3 "2018-02-21T08:08:26Z")

</div>

Hey Discourse Team,  
Kindly help me in this matter.  
This is my forum link - [https://forum.buzzbasement.com](https://forum.buzzbasement.com)

I rebuild app two time still nothing happened.

What should I do for this.

---

<div class="post-metadata">

### Author: ![burningman](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/burningman/32/120064_2.png) [@burningman](https://meta.discourse.org/u/burningman)
#### Post date: [February 21, 2018, 8:20am UTC](https://meta.discourse.org/t/my-forum-goes-offline-after-removing-https/81115/4 "2018-02-21T08:20:55Z")

</div>

I just found error in rebuilding but don’t know how to solve it.

 ![3](https://global.discourse-cdn.com/meta/original/3X/8/c/8cad972e673b3013b6de09981e15e8f77d13ef2e.png)

---

<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: [February 21, 2018, 8:44am UTC](https://meta.discourse.org/t/my-forum-goes-offline-after-removing-https/81115/5 "2018-02-21T08:44:01Z")

</div>

What is occupying the port 80 on your server?

---

<div class="post-metadata">

### Author: ![burningman](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/burningman/32/120064_2.png) [@burningman](https://meta.discourse.org/u/burningman)
#### Post date: [February 21, 2018, 10:00am UTC](https://meta.discourse.org/t/my-forum-goes-offline-after-removing-https/81115/6 "2018-02-21T10:00:47Z")

</div>

> [@itsbhanusharma](#):
>
> What is occupying the port 80 on your server?

means, sorry I haven’t understand what you really want to ask

---

<div class="post-metadata">

### Author: ![cpradio](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/cpradio/32/4970_2.png) [@cpradio](https://meta.discourse.org/u/cpradio)
#### Post date: [February 21, 2018, 11:07am UTC](https://meta.discourse.org/t/my-forum-goes-offline-after-removing-https/81115/7 "2018-02-21T11:07:16Z")

</div>

Run this command, to identify what is taking up port 80 (and then provide us the output)  
`sudo lsof -t -i tcp:80 -s tcp:listen`

---

<div class="post-metadata">

### Author: ![burningman](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/burningman/32/120064_2.png) [@burningman](https://meta.discourse.org/u/burningman)
#### Post date: [February 21, 2018, 11:09am UTC](https://meta.discourse.org/t/my-forum-goes-offline-after-removing-https/81115/8 "2018-02-21T11:09:56Z")

</div>

> [@cpradio](#):
>
> sudo lsof -t -i tcp:80 -s tcp:listen

 ![3](https://global.discourse-cdn.com/meta/original/3X/5/d/5d55f6d623c583cde38213ada8eb79adeb2cdd87.png)

What should I do right now

---

<div class="post-metadata">

### Author: ![cpradio](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/cpradio/32/4970_2.png) [@cpradio](https://meta.discourse.org/u/cpradio)
#### Post date: [February 21, 2018, 11:13am UTC](https://meta.discourse.org/t/my-forum-goes-offline-after-removing-https/81115/9 "2018-02-21T11:13:38Z")

</div>

Sorry, I copied and pasted it with an extra parameter, can you run it once more, using this (note: the missing -t argument)

`sudo lsof -i tcp:80 -s tcp:listen`

---

<div class="post-metadata">

### Author: ![burningman](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/burningman/32/120064_2.png) [@burningman](https://meta.discourse.org/u/burningman)
#### Post date: [February 21, 2018, 11:15am UTC](https://meta.discourse.org/t/my-forum-goes-offline-after-removing-https/81115/10 "2018-02-21T11:15:55Z")

</div>

> [@cpradio](#):
>
> sudo lsof -i tcp:80 -s tcp:listen

 ![3](https://global.discourse-cdn.com/meta/original/3X/f/d/fd7963620c09e68580b8370380335dd758b7dd50.png)

---

<div class="post-metadata">

### Author: ![cpradio](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/cpradio/32/4970_2.png) [@cpradio](https://meta.discourse.org/u/cpradio)
#### Post date: [February 21, 2018, 11:16am UTC](https://meta.discourse.org/t/my-forum-goes-offline-after-removing-https/81115/11 "2018-02-21T11:16:29Z")

</div>

Perfect, so you have apache2 installed which is taking over port 80. Are you running other sites on this server (other than Discourse)?

---

<div class="post-metadata">

### Author: ![burningman](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/burningman/32/120064_2.png) [@burningman](https://meta.discourse.org/u/burningman)
#### Post date: [February 21, 2018, 11:17am UTC](https://meta.discourse.org/t/my-forum-goes-offline-after-removing-https/81115/12 "2018-02-21T11:17:36Z")

</div>

Nope, only this one.

I am using Digital Ocean.  
I have one more Discourse but that is on another server and that is working fine.

Only this one is affecting

---

<div class="post-metadata">

### Author: ![cpradio](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/cpradio/32/4970_2.png) [@cpradio](https://meta.discourse.org/u/cpradio)
#### Post date: [February 21, 2018, 11:22am UTC](https://meta.discourse.org/t/my-forum-goes-offline-after-removing-https/81115/13 "2018-02-21T11:22:42Z")

</div>

okay, try running `sudo apt-get remove apache2`

If that doesn’t solve the issue, run `dpkg -l | grep apache2` and remove each remaining component

---

<div class="post-metadata">

### Author: ![burningman](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/burningman/32/120064_2.png) [@burningman](https://meta.discourse.org/u/burningman)
#### Post date: [February 21, 2018, 11:24am UTC](https://meta.discourse.org/t/my-forum-goes-offline-after-removing-https/81115/14 "2018-02-21T11:24:06Z")

</div>

> [@cpradio](#):
>
> dpkg -l | grep apache2

I tried both but problem still exists

---

<div class="post-metadata">

### Author: ![burningman](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/burningman/32/120064_2.png) [@burningman](https://meta.discourse.org/u/burningman)
#### Post date: [February 21, 2018, 11:25am UTC](https://meta.discourse.org/t/my-forum-goes-offline-after-removing-https/81115/15 "2018-02-21T11:25:11Z")

</div>

![3](https://global.discourse-cdn.com/meta/original/3X/b/4/b47143bd9cb826202f2b0fd7137edd88ccadd746.png)

---

<div class="post-metadata">

### Author: ![cpradio](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/cpradio/32/4970_2.png) [@cpradio](https://meta.discourse.org/u/cpradio)
#### Post date: [February 21, 2018, 11:26am UTC](https://meta.discourse.org/t/my-forum-goes-offline-after-removing-https/81115/16 "2018-02-21T11:26:31Z")

</div>

Run the `sudo lsof -i tcp:80 -s tcp:listen` command again, is anything listening on port 80 anymore? From what I can tell, that is simply implying that `apache2-bin apache2-data apache2-utils` can be manually removed as well.

`sudo apt-get remove apache2-bin apache2-data apache2-utils`

The `rc` in front of apache2 means it was removed, but still has configuration files sitting on the system.

---

<div class="post-metadata">

### Author: ![burningman](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/burningman/32/120064_2.png) [@burningman](https://meta.discourse.org/u/burningman)
#### Post date: [February 21, 2018, 11:27am UTC](https://meta.discourse.org/t/my-forum-goes-offline-after-removing-https/81115/17 "2018-02-21T11:27:43Z")

</div>

now,. nothing happens this time..  
It is not listening on port 80 anymore

---

<div class="post-metadata">

### Author: ![cpradio](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/cpradio/32/4970_2.png) [@cpradio](https://meta.discourse.org/u/cpradio)
#### Post date: [February 21, 2018, 11:29am UTC](https://meta.discourse.org/t/my-forum-goes-offline-after-removing-https/81115/18 "2018-02-21T11:29:07Z")

</div>

If discourse was already installed, a reboot should be sufficient for starting it back up, or you can run

```plaintext
cd /var/discourse
./launcher rebuild app

```

---

<div class="post-metadata">

### Author: ![burningman](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/burningman/32/120064_2.png) [@burningman](https://meta.discourse.org/u/burningman)
#### Post date: [February 21, 2018, 11:29am UTC](https://meta.discourse.org/t/my-forum-goes-offline-after-removing-https/81115/19 "2018-02-21T11:29:27Z")

</div>

Thanks, I will do that.

---

<div class="post-metadata">

### Author: ![burningman](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/burningman/32/120064_2.png) [@burningman](https://meta.discourse.org/u/burningman)
#### Post date: [February 21, 2018, 1:13pm UTC](https://meta.discourse.org/t/my-forum-goes-offline-after-removing-https/81115/20 "2018-02-21T13:13:19Z")

</div>

> [@cpradio](#):
>
> If discourse was already installed, a reboot should be sufficient for starting it back up, or you can run

Hey @cpradio, I just rebuild but still same problem 😥

---

<div class="post-metadata">

### Author: ![cpradio](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/cpradio/32/4970_2.png) [@cpradio](https://meta.discourse.org/u/cpradio)
#### Post date: [February 21, 2018, 1:15pm UTC](https://meta.discourse.org/t/my-forum-goes-offline-after-removing-https/81115/21 "2018-02-21T13:15:28Z")

</div>

Anything taking up port 80 again? Are you sure it is the same error?

[Next page](https://meta.discourse.org/t/my-forum-goes-offline-after-removing-https/81115.md?page=2)
