Answer the question
In order to leave comments, you need to log in
How to resolve node js and apache conflict?
Hello, I ran into a not very pleasant problem, there is a site working with mongoDB and a NodeJS application also working with mongoDB , but they refuse to work together.
When APACHE is running, NodeJS bot does not start
When NodeJS application is running, APACHE does not start
In this case, as an example, when APACHE is enabled, mongo-express does not start.
There is also a second application that works, but does not transmit information to the site.
Options like not to use mongo-express please do not offer, because it's not the only application.
PS: When porting NodeJS, everything works fine, but the site itself is written under the local MongoDB database
Answer the question
In order to leave comments, you need to log in
After Apache has not started, look at its logs, there you will most likely find a message that it cannot access any resources (for example, port 80). As soon as you fix the problems by setting up the config, then everything will work. Well, if not, then write here the logs of all applications. There isn't enough information in your post to recommend anything.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question