# Non-standard port breaks uploads

**URL:** <https://meta.discourse.org/t/non-standard-port-breaks-uploads/49022>\
**Category:** Self-hosting\
**Tags:** uploads\
**Created:** [August 22, 2016, 7:05pm UTC](https://meta.discourse.org/t/non-standard-port-breaks-uploads/49022 "2016-08-22T19:05:04Z")\
**Posts on this page:** 1\
**Showing post:** 1

<div class="post-metadata">

**Author:** ![jomaxro](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/jomaxro/32/126216_2.png) [@jomaxro](https://meta.discourse.org/u/jomaxro)\
**Post date:** [August 22, 2016, 7:05pm UTC](https://meta.discourse.org/t/non-standard-port-breaks-uploads/49022/1 "2016-08-22T19:05:04Z")

</div>

Following [this guide](https://meta.discourse.org/t/how-to-set-up-discourse-on-a-server-with-existing-apache-sites/30013) I setup Discourse alongside multiple existing sites on my server. All the previous sites (as well as Discourse) are able to run, and seem to work fine, but images are broken in Discourse. The images are uploaded to `$hostname/uploads`, but the correct URL would be `$hostname:8888/uploads`. I can’t find where in site settings of my yml file to fix this.

---

_[View the full topic](https://meta.discourse.org/t/non-standard-port-breaks-uploads/49022)._
