Monday, 3 April 2017

the exactly steps how to install node js server on online server not localhost

I'm using drupal 7 and chatroom module this module depends on node.js server and node js integration module
I don't know any thing about node js and follow the steps on drupal documentation.

this what I do :
1- download nodejs and npm install in htdocs directory
2- change the configuration in drupal-node.js thats agree with online host server
3- then uploads these file to online site (my host is : name.com)
4- make all steps as mentioned in documentation (hostname , port , service key ,etc..)
when I go to report status there is the same error

Error reaching the Node.js server. Make sure your Node.js service key matches the key set in the server application. Enable HTTP error-logging and check the dblog page for more details.
I'm sure that the service key matches the key set in server application (i added server application key)
does the problem node js server not installed correctly???or my online server is the problem ??? where i should to put node_module folder ???

thanks alot and please if you know the exactly steps how to install node js server on online server not localhost show me how!!



via Raneem Yad

No comments:

Post a Comment