# Come cambiare la porta da Docker - aiuto

**URL:** <https://meta.discourse.org/t/how-to-change-the-port-from-docker-help/46401>\
**Category:** Self-hosting\
**Created:** [24 Giugno 2016, 1:17pm UTC](https://meta.discourse.org/t/how-to-change-the-port-from-docker-help/46401 "2016-06-24T13:17:01Z")\
**Posts on this page:** 1\
**Showing post:** 1

<div class="post-metadata">

**Author:** ![paulfree](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/paulfree/32/58789_2.png) [@paulfree](https://meta.discourse.org/u/paulfree)\
**Post date:** [24 Giugno 2016, 1:17pm UTC](https://meta.discourse.org/t/how-to-change-the-port-from-docker-help/46401/1 "2016-06-24T13:17:01Z")

</div>

I’ve set up ningx to run other websites on the same machine as Discourse.  
I used following description: [Run other websites on the same machine as Discourse](https://meta.discourse.org/t/running-other-websites-on-the-same-machine-as-discourse/17247)  
I din’t followed all steps again (cause I was already further with the installation), but changed the container description like it was advice

Now I somehow need to change the port. When type in localhost in my browser I see the nginx welcome page but also the discourse favicon.

For the reason the mail setup was not correctly I was thinking to just reinstall discourse. Here I just reseave the message:

root@ubuntu:/var/discourse# ./discourse-setup

"Port 80 appears to already be in use.

If you are trying to run Discourse simultaneously with another web  
server like Apache or nginx, you will need to bind to a different port

See [Run other websites on the same machine as Discourse](https://meta.discourse.org/t/17247)  
"

While I have like zero experience with these kind of work, I have no idea what to do. All I know is that I need to change the port of docker.

But how, and which port can I use?

. thx 🙂

lg Paul

---

_[View the full topic](https://meta.discourse.org/t/how-to-change-the-port-from-docker-help/46401)._
