# Putting a discourse development server behind proxy seems to mess up some (but not most) URLs

**URL:** <https://meta.discourse.org/t/putting-a-discourse-development-server-behind-proxy-seems-to-mess-up-some-but-not-most-urls/40829>\
**Category:** Development\
**Created:** [Março 9, 2016, 9:14pm UTC](https://meta.discourse.org/t/putting-a-discourse-development-server-behind-proxy-seems-to-mess-up-some-but-not-most-urls/40829 "2016-03-09T21:14:49Z")\
**Posts on this page:** 1\
**Showing post:** 15

<div class="post-metadata">

**Author:** ![Mittineague](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/mittineague/32/114259_2.png) [@Mittineague](https://meta.discourse.org/u/Mittineague)\
**Post date:** [Março 11, 2016, 3:11am UTC](https://meta.discourse.org/t/putting-a-discourse-development-server-behind-proxy-seems-to-mess-up-some-but-not-most-urls/40829/15 "2016-03-11T03:11:29Z")

</div>

> [@ryantm](#):
>
> All the developer settings are at their defaults according to the settings page:

That sounds like it is your problem. When you first run `vagrant up` look at the ports used

```plaintext
==> default: Preparing network interfaces based on configuration...
    default: Adapter 1: nat
    default: Adapter 2: hostonly
==> default: Forwarding ports...
    default: 3000 (guest) => 4000 (host) (adapter 1)
    default: 1080 (guest) => 4080 (host) (adapter 1)
    default: 22 (guest) => 2222 (host) (adapter 1)

```

If you see the “3000 =\> 4000” try changing your Admin → Developer port from 3000 to 4000  
You may need to “rebuild HTML” posts that have the broken links in them

---

_[View the full topic](https://meta.discourse.org/t/putting-a-discourse-development-server-behind-proxy-seems-to-mess-up-some-but-not-most-urls/40829)._
