F
F
fuckman2014-07-25 10:56:08
Apache HTTP Server
fuckman, 2014-07-25 10:56:08

Do Apache and node.js installed at the same time conflict?

Will apache and node conflict if installed on ubuntu 14? I don’t use a node as a server, I use it only for some of its add-ons (lessc and others)

Answer the question

In order to leave comments, you need to log in

2 answer(s)
L
Lynn "Coffee Man", 2014-07-25
@Lynn

Not

A
Alexey Pavlov, 2014-07-25
@lexxpavlov

Do not conflict if they sit on different ports.
They often do this - they hang the node on port 3000, and forward calls to it through an external frontend like nginx, which listens on the standard 80th port. In principle, you can proxy the node with Apache, but I'm not sure that this is a good idea - Apache is not the smartest thing. If you want to have several sites on different platforms on the same server, then the best choice would be to install nginx as a frontend, and use both apache and node.js through it.
And sites in php can be launched without Apache at all, directly through nginx. Deal with it, there will be a good profit.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question