Live Helper Chat support forum.. Forum is locked. New place for questions - Github Discussions
You are not logged in.
Pages: 1
Hi,
I have been able to setup the our DNS with subdomain (node.oursite.net) and installed node.js. It seems I have configured node.js properly on our server. I tested from command line in putty and got the response.
***:/home/www/oursite.net/extension/nodejshelper/server# node server.js
info - socket.io started
LHC Server listening on localhost:3000
If I try to go to http://node.oursite.net/extension/nodejshelper/server/server.js I am getting a 404 error.
In the file extension/nodejshelper/server/settings.js file I have these settings...
settings.socketiopath = '/usr/local/lib/node_modules/socket.io';
settings.web.host = "localhost";
settings.web.port = 3000;
and in my extension/nodejshelper/design/nodejshelpertheme/tpl/pagelayouts/parts/page_head_js_extension.tpl.php I have this.
<?php
$nodeJsHelperSettings = array (
'prefix' => 'http://',
'host' => 'localhost',
'port' => '31129',
);
I set the settings.ini.php file with this...
'extensions' =>
array (
0 => 'nodejshelper',
),
After clearing cache, the chats become unstable. It's like there is something wrong with the setup that will not allow for chats to work properly.
What am I doing wrong?
Thanks
Offline
$nodeJsHelperSettings = array ( 'prefix' => 'http://',
'host' => 'localhost',
'port' => '31129',
);
should look like in your case
$nodeJsHelperSettings = array (
'prefix' => 'http://',
'host' => 'node.oursite.net',
'port' => '80',
);
Offline
Three questions...
1) Isn't port 80 reserved for website's port and will it conflict with nginx?
2) Will this setup work when the site displaying the chat is in https mode?
3) Does it matter that I am getting a 404 when I run http://node.oursite.net/extension/nodejshelper/server/server.js in the browser window?
Offline
Oh and will this work on iphone and ipads, etc?
Offline
I tried your recommended settings and still does not work
Offline
Pages: 1