So I have meteor app already up and running. Now im trying to set apache in the same server.
apache2: Could not reliably determine the server’s fully qualified domain name, using 127.0.1.1. Set the ‘ServerName’ directive globally to suppress this message (98)Address already in use: AH00072: make_sock: could not bind to address [::]:80 (98)Address already in use: AH00072: make_sock: could not bind to address 0.0.0.0:80 no listening sockets available, shutting down
Proto Recv-Q Send-Q Local Address Foreign Address State PID/Program name
tcp 0 0 0.0.0.0:22 0.0.0.0:* LISTEN 873/sshd
tcp 0 0 127.0.0.1:27017 0.0.0.0:* LISTEN 11369/docker-proxy
tcp 0 0 127.0.0.1:3306 0.0.0.0:* LISTEN 13396/mysqld
tcp6 0 0 :::80 :::* LISTEN 11825/docker-proxy
tcp6 0 0 :::22 :::* LISTEN 873/sshd
This is my plunt, docker-proxy is running in port 80 so, apache couldnt start, what could be the preferable solution ? Should I change the port of apache server or there are better ways.
This textbox defaults to using Markdown to format your answer.
You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!
Hey @jyotichhetri01 -
It’s hard to say if this will help with your specific Docker/Meteor setup, but a common solution to running Meteor and Apache on the same droplet is to set up Apache as a reverse proxy.
Basically apache handles all incoming requests coming in to port 80, and forwards certain ones along to Meteor, which is listening on a different port.
Take a look at this Tutorial: How to use Apache as a reverse proxy using mod_proxy extension
Get paid to write technical tutorials and select a tech-focused charity to receive a matching donation.
Full documentation for every DigitalOcean product.
The Wave has everything you need to know about building a business, from raising funding to marketing your product.
Stay up to date by signing up for DigitalOcean’s Infrastructure as a Newsletter.
New accounts only. By submitting your email you agree to our Privacy Policy
Scale up as you grow — whether you're running one virtual machine or ten thousand.
Sign up and get $200 in credit for your first 60 days with DigitalOcean.*
*This promotional offer applies to new accounts only.