Error: Apache & Nginx Running ON Same Port
Posted: Sun Apr 17, 2016 5:58 pm
After about a week of not even touching my server, I rebooted it and when rebooting I noticed that apache could no start.
After looking into the problem, I found that Apache and Nginx were both trying to run on port 8080, and if I stopped Nginx I could start Apache and vise versa.
The errors I am receiving are:
(For Apache): (98)Address already in use: AH00072: make_sock: could not bind to address 192.168.0.39:8080
(For Nginx): nginx: [emerg] bind() to 0.0.0.0:8080 failed (98: Address already in use)
How can I fix this and how could this happen randomly?
The only thing I can access on the server is port 8083, and all the websites are down.
Thanks for any help.
After looking into the problem, I found that Apache and Nginx were both trying to run on port 8080, and if I stopped Nginx I could start Apache and vise versa.
The errors I am receiving are:
(For Apache): (98)Address already in use: AH00072: make_sock: could not bind to address 192.168.0.39:8080
(For Nginx): nginx: [emerg] bind() to 0.0.0.0:8080 failed (98: Address already in use)
How can I fix this and how could this happen randomly?
The only thing I can access on the server is port 8083, and all the websites are down.
Thanks for any help.