# Fresh install returning 502 Bad Gateway

**URL:** https://meta.discourse.org/t/fresh-install-returning-502-bad-gateway/298564
**Category:** Self-hosting
**Tags:** unsupported-install
**Created:** [March 8, 2024, 3:26pm UTC](https://meta.discourse.org/t/fresh-install-returning-502-bad-gateway/298564 "2024-03-08T15:26:36Z")
**Posts on this page:** 1
**Showing post:** 6

<div class="post-metadata">

### Author: ![NullUsername](https://avatars.discourse-cdn.com/v4/letter/n/a183cd/32.png) [@NullUsername](https://meta.discourse.org/u/NullUsername)
#### Post date: [March 9, 2024, 10:30am UTC](https://meta.discourse.org/t/fresh-install-returning-502-bad-gateway/298564/6 "2024-03-09T10:30:55Z")

</div>

@pfaffman Something like this. From a comment you made

> [@Setting a custom IP doesn't work?](https://meta.discourse.org/t/setting-a-custom-ip-doesnt-work/277981/2):
>
> Maybe try this:
> 
> ```plaintext
> ./launcher start app --docker-args '--network discourse_back --ip 192.168.1.4'
> 
> ```

How do i set the ./discourse-setup to use host ip 192.168.1.X and network on install ?

---

_[View the full topic](https://meta.discourse.org/t/fresh-install-returning-502-bad-gateway/298564)._
