# 您无权访问此服务器上的 /

**URL:** <https://meta.discourse.org/t/you-dont-have-permission-to-access-on-this-server/120066>\
**Category:** Self-hosting\
**Created:** [2019年六月11日 19:56 UTC](https://meta.discourse.org/t/you-dont-have-permission-to-access-on-this-server/120066 "2019-06-11T19:56:47Z")\
**Posts on this page:** 9\
**Page:** 1

<div class="post-metadata">

**Author:** ![chfcb](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/chfcb/32/155556_2.png) [@chfcb](https://meta.discourse.org/u/chfcb)\
**Post date:** [2019年六月11日 19:56 UTC](https://meta.discourse.org/t/you-dont-have-permission-to-access-on-this-server/120066/1 "2019-06-11T19:56:47Z")

</div>

Hi,

I had a lot of problems with the installation, most with email delivery.

But now I get this error message when trying to open my website.

I did nothing… it worked at first and after a while it didn’t work anymore.

I’m not only a beginner, but my English is also very bad. Sorry for that!

I hope somebody can help me?

---

<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:** [2019年六月12日 10:53 UTC](https://meta.discourse.org/t/you-dont-have-permission-to-access-on-this-server/120066/2 "2019-06-12T10:53:01Z")

</div>

It sounds like you have some other web server running on the system. You should not have apache or nginx installed.

---

<div class="post-metadata">

**Author:** ![chfcb](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/chfcb/32/155556_2.png) [@chfcb](https://meta.discourse.org/u/chfcb)\
**Post date:** [2019年六月12日 18:32 UTC](https://meta.discourse.org/t/you-dont-have-permission-to-access-on-this-server/120066/3 "2019-06-12T18:32:25Z")

</div>

hi

my installation setup step by step

bought virtaul server  
install ubuntu server  
install docker  
use this install guide for discourse ([discourse/docs/INSTALL-cloud.md at main · discourse/discourse · GitHub](https://github.com/discourse/discourse/blob/master/docs/INSTALL-cloud.md))

write server ip adress in domain setup at my serverprovider

docker issues me the following output

```plaintext
> docker ps -a
CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES
43ecc553dc2c local_discourse/app "/bin/bash -c 'cd /p…" 23 hours ago Exited (1) 23 hours ago nervous_morse
4d4d9b1b7938 local_discourse/app "/sbin/boot" 2 days ago Exited (6) 37 hours ago app

```

---

<div class="post-metadata">

**Author:** ![supermathie](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/supermathie/32/507518_2.png) [@supermathie](https://meta.discourse.org/u/supermathie)\
**Post date:** [2019年六月12日 19:35 UTC](https://meta.discourse.org/t/you-dont-have-permission-to-access-on-this-server/120066/4 "2019-06-12T19:35:56Z")

</div>

> [@chfcb](#):
>
> ```plaintext
> Exited (6) 37 hours ago app
> 
> ```

This means that Discourse is _not_ running, probably since it was unable to start due to another web server being installed and running.

You’ll want to remove other webserver packages from your host, e.g.: `apache2, nginx`

The command:

`sudo ss -ltp | grep http`

should let you know what’s running on that port.

---

<div class="post-metadata">

**Author:** ![chfcb](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/chfcb/32/155556_2.png) [@chfcb](https://meta.discourse.org/u/chfcb)\
**Post date:** [2019年六月12日 19:39 UTC](https://meta.discourse.org/t/you-dont-have-permission-to-access-on-this-server/120066/5 "2019-06-12T19:39:30Z")

</div>

> sudo ss -ltp | grep http  
> sudo: unable to resolve host localhost.localdomain

🙄

---

<div class="post-metadata">

**Author:** ![supermathie](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/supermathie/32/507518_2.png) [@supermathie](https://meta.discourse.org/u/supermathie)\
**Post date:** [2019年六月12日 19:57 UTC](https://meta.discourse.org/t/you-dont-have-permission-to-access-on-this-server/120066/6 "2019-06-12T19:57:19Z")

</div>

You can try this instead:

`sudo ss -ltpn | grep 80`

Or, run it as root without sudo.

---

<div class="post-metadata">

**Author:** ![chfcb](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/chfcb/32/155556_2.png) [@chfcb](https://meta.discourse.org/u/chfcb)\
**Post date:** [2019年六月12日 20:02 UTC](https://meta.discourse.org/t/you-dont-have-permission-to-access-on-this-server/120066/7 "2019-06-12T20:02:38Z")

</div>

> [@supermathie](#):
>
> sudo ss -ltpn | grep 80

> user@localhost:~$ sudo ss -ltp | grep 80  
> sudo: unable to resolve host localhost.localdomain  
> [sudo] password for user:  
> user@localhost:~$ sudo ss -ltp | grep 80  
> sudo: unable to resolve host localhost.localdomain  
> user@localhost:~$ sudo -s  
> sudo: unable to resolve host localhost.localdomain  
> root@localhost:~# ss -ltp | grep 80  
> root@localhost:~# ss -ltpn | grep 80  
> root@localhost:~# ss -ltpn | grep http  
> root@localhost:~#

as you can see show me “unable the resolve …” first and then ask for the password

as root it shows nothing ?

---

<div class="post-metadata">

**Author:** ![supermathie](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/supermathie/32/507518_2.png) [@supermathie](https://meta.discourse.org/u/supermathie)\
**Post date:** [2019年六月12日 20:13 UTC](https://meta.discourse.org/t/you-dont-have-permission-to-access-on-this-server/120066/8 "2019-06-12T20:13:50Z")

</div>

oh, OK, it’s just a warning you can ignore.

You have two conflicting facts here:

- a webserver is responding: `You don’t have permission to access / on this server`
- no webserver is listening on port 80

---

<div class="post-metadata">

**Author:** ![chfcb](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/chfcb/32/155556_2.png) [@chfcb](https://meta.discourse.org/u/chfcb)\
**Post date:** [2019年六月12日 20:21 UTC](https://meta.discourse.org/t/you-dont-have-permission-to-access-on-this-server/120066/9 "2019-06-12T20:21:32Z")

</div>

yes i see …

but i did nothing and it works for 2h

and then this …

in my opinion it would be best to start at zero 🙄
