# Port already in use, what to do?

**URL:** <https://meta.discourse.org/t/port-already-in-use-what-to-do/27954>\
**Category:** Self-hosting\
**Created:** [April 25, 2015, 5:56pm UTC](https://meta.discourse.org/t/port-already-in-use-what-to-do/27954 "2015-04-25T17:56:10Z")\
**Posts on this page:** 1\
**Showing post:** 26

<div class="post-metadata">

**Author:** ![Stephen](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/stephen/32/95011_2.png) [@Stephen](https://meta.discourse.org/u/Stephen)\
**Post date:** [March 6, 2020, 6:50am UTC](https://meta.discourse.org/t/port-already-in-use-what-to-do/27954/26 "2020-03-06T06:50:48Z")

</div>

> [@Peter\_Backgren](#):
>
> Even tried to find on the forum if Discourse 2.5 installs Apache2 these days.

Discourse installs nothing outside the container aside from docker as an installation prerequisite.

It’s likely Apache2 was installed after the last reboot and couldn’t take the port until you restarted the machine. Grep your bash history to check what packages have been installed by hand.

---

_[View the full topic](https://meta.discourse.org/t/port-already-in-use-what-to-do/27954)._
