# Site responds 502 Bad gateway - is it Ruby?

**URL:** <https://meta.discourse.org/t/site-responds-502-bad-gateway-is-it-ruby/155662>\
**Category:** Self-hosting\
**Created:** [23 juni 2020 om 08:14 UTC](https://meta.discourse.org/t/site-responds-502-bad-gateway-is-it-ruby/155662 "2020-06-23T08:14:28Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![neounix](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/neounix/32/215617_2.png) [@neounix](https://meta.discourse.org/u/neounix)\
**Post date:** [23 juni 2020 om 08:59 UTC](https://meta.discourse.org/t/site-responds-502-bad-gateway-is-it-ruby/155662/2 "2020-06-23T08:59:36Z")

</div>

Hi Chris:

Yes, you are correct.

Rails runs on port 3000 in the Discourse app.

You might want to check the Rails log in the app to see if you can find out what is happening with Rails.

Hope this helps a little bit.

---

_[View the full topic](https://meta.discourse.org/t/site-responds-502-bad-gateway-is-it-ruby/155662)._
