# 502 错误网关

**URL:** <https://meta.discourse.org/t/502-bad-gateway-error/194016>\
**Category:** Self-hosting\
**Tags:** server-resources\
**Created:** [2021年六月16日 06:45 UTC](https://meta.discourse.org/t/502-bad-gateway-error/194016 "2021-06-16T06:45:23Z")\
**Posts on this page:** 1\
**Showing post:** 10

<div class="post-metadata">

**Author:** ![Benjamin\_D](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/benjamin_d/32/277831_2.png) [@Benjamin\_D](https://meta.discourse.org/u/Benjamin_D)\
**Post date:** [2021年六月19日 09:36 UTC](https://meta.discourse.org/t/502-bad-gateway-error/194016/10 "2021-06-19T09:36:24Z")

</div>

> [@ignatus](#):
>
> 我的 VPS 提供商不允许我执行该命令。

这让我想起了这个主题：

> [@Failed to create swap: are you root?](https://meta.discourse.org/t/failed-to-create-swap-are-you-root/139242):
>
> I bought a Ubuntu 18.04, 64bit VPS from Hostinger and I’m trying to install discourse but keep getting this error:

因此，你的 VPS 可能不支持完全虚拟化，更换托管提供商或许更容易，从而避免未来可能遇到的问题。

---

_[View the full topic](https://meta.discourse.org/t/502-bad-gateway-error/194016)._
