# Won't Run on Different Port

**URL:** <https://meta.discourse.org/t/wont-run-on-different-port/52843>\
**Category:** Self-hosting\
**Created:** [13 Novembre 2016, 5:49am UTC](https://meta.discourse.org/t/wont-run-on-different-port/52843 "2016-11-13T05:49:17Z")\
**Posts on this page:** 1\
**Showing post:** 1

<div class="post-metadata">

**Author:** ![Jackz](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/jackz/32/121545_2.png) [@Jackz](https://meta.discourse.org/u/Jackz)\
**Post date:** [13 Novembre 2016, 5:49am UTC](https://meta.discourse.org/t/wont-run-on-different-port/52843/1 "2016-11-13T05:49:17Z")

</div>

Hello. I’m trying to install discourse on my server.  
I have an apache server currently running on port 80 and 443 at /var/www  
I want to install discourse to run at port 8080 for HTTP (I don’t care for https at the moment)

I have set the app.yml file to be:  
8080:81 and I’ve tried 8080:8080.

I have the hostname set to 0.0.0.0, and I’m tried to access it from the computer’s LAN ip, and from itself. It just says connection refused. Server is currently running. It seems like its running but not displaying anything or such?

I’m stumped at this point so I’m looking for some help.

---

_[View the full topic](https://meta.discourse.org/t/wont-run-on-different-port/52843)._
