I’m running Discourse on LAMP. I already have a Wordpress setup running on apache2.
When trying to install Discourse, I get the common “port 80 already in use” error.
In the error message I get a link to Running other websites on the same machine as Discourse but this topic explains how to fix the problem on a Nginx webserver. Is there any guide for apache?
root: discourse# ./launcher start app
starting up existing container
- /usr/bin/docker start app
Error response from daemon: driver failed programming external connectivity on endpoint app (e07f48c917b0406e11ff8959629a043bb77aec17fd490658be303000661de85d): Error starting userland proxy: listen tcp 0.0.0.0:443: listen: address already in use
Error: failed to start containers: app
You will want to edit the app.yml file and comment out the SSL and Let’s Encrypt templates at the top. Also remove the comment from the socketed template, save and rebuild.
That will make Discourse listen to a unix socket, which you can use to proxy from your Apache.