Node.js and Apache working in one workspace

nodejs
apache
postgresql
laravel

#1

Hi there, I’m currently developing an app using laravel and that’s going awesomely, however, I need to have a chat server on there as well and would like to use node.js because they both need access to the same database, but I can’t get node and apache to play nicely together.

So I guess my question is two fold, can I have two workspaces sharing the same database OR can I get node and apache to work in one workspace together?

I look forward to hearing from you guys! Happy programming!


#2

You can use 8080 port for apache and 8081 for node


#3

Wow, that works perfectly! I was under the impression that we only got one port for a workspace!

Either way, thank you so much! I <3 you man.


#4

8082 is also available see https://docs.c9.io/docs/multiple-ports