# Install Discourse on Windows for development

**URL:** https://meta.discourse.org/t/install-discourse-on-windows-for-development/75149
**Category:** Developer Guides
**Tags:** dev-install, how-to
**Created:** [December 1, 2017, 6:36am UTC](https://meta.discourse.org/t/install-discourse-on-windows-for-development/75149 "2017-12-01T06:36:51Z")
**Posts on this page:** 1
**Showing post:** 102

<div class="post-metadata">

### Author: ![Arkshine](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/arkshine/32/298682_2.png) [@Arkshine](https://meta.discourse.org/u/Arkshine)
#### Post date: [April 15, 2023, 12:07am UTC](https://meta.discourse.org/t/install-discourse-on-windows-for-development/75149/102 "2023-04-15T00:07:10Z")

</div>

> [@Arkshine](#):
>
> On a fresh Ubuntu 22 (windows 10, WSL2) and successful Discourse installation, all the image images fail to be served on the default port 4200.

Alright, found a solution.

I noticed that replacing `127.0.0.1` with `localhost` would fix the images.

After searching a bit, this the command you can use to start Discourse:

`DISCOURSE_HOSTNAME=localhost UNICORN_LISTENER=localhost:3000 bin/ember-cli -u`

* * *

I will try to update the guide later.

---

_[View the full topic](https://meta.discourse.org/t/install-discourse-on-windows-for-development/75149)._
