Live Helper Chat support forum.. Forum is locked. New place for questions - Github Discussions
You are not logged in.
I do not have any skill about node.js, but it will not be a problem to learn it,
but before I will spend a lot of time on it, I have a question.
Will it be possible to run LHC over node.js by socket.io on OTHER ports like
the classic ports 80 and 443, so there will be still free for a apache-Server ?
The main reason to try it is, to win speed for screen-sharing !
Last edited by Hamburgo (2019-07-30 15:50:27)
Offline
Hi Hamburgo, thank you for your question.
Node JS is something out of my free limited support.
I tried to forward your question to the chat owner but i cannot grant a reply.
If you need to be followed in a professional support you can find helpfull links on my forum signature.
Thank you for understanding!
Have a good time
PeopleInside - Live helper chat - free limited forum support!
For commercial support or GitHub [see FAQ here]
If you want to support this open source project, just donate [see support page]
Something wrong with the forum? [contact a superhero]
Offline
Where I have integrated it. It's always nginx and nodejs running on custom portand nginx just proxies request to nodejs servers
Offline
Is it possible to say the LHC-Widget to use a special port like 8080 or 8443
for the communication with my web-server ?
The idea behind is to setup nginx on this port and move the whole LHC-Application
on this Web-Server and my ERP-Application will still run on the Apache-Server over
Port 80/443.
Offline
You can try, but i'm not sure it will work. As i personally have not tested it that way
Offline
This is my code to call the LHC-Widget:
<script>
var LHCChatOptions = {};
LHCChatOptions.opt = {widget_height:340,widget_width:300,popup_height:520,popup_width:500,domain:'kmu-office.spdns.de'};
(function() {
var po = document.createElement('script'); po.type = 'text/javascript'; po.async = true;
var referrer = (document.referrer) ? encodeURIComponent(document.referrer.substr(document.referrer.indexOf('://')+1)) : '';
var location = (document.location) ? encodeURIComponent(window.location.href.substring(window.location.protocol.length)) : '';
po.src = '//livechat.spdns.de/LiveHelperChat/index.php/ger/chat/getstatus/(click)/internal/(position)/bottom_right/(ma)/br/(check_operator_messages)/true/(top)/350/(units)/pixels/(leaveamessage)/true/(department)/1?r='+referrer+'&l='+location;
var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(po, s);
})();
</script>
Where I have to set the port like 8080 with the correct syntax ?
Offline
With the current version 3.24 LHC it will not work, I believe.
I tried a little test to run LHC on port 444 on my standard web-server:
URL-Input in the browser (Chrome and FireFox):
https://livechat.spdns.de:444/LiveHelpe … user/login
URL-Return from LHC out of specified port: 444
https://livechat.spdns.de/LiveHelperCha … user/login
I do not have any Rewrite cond/rules for this domain in the .htaccess or
ssl.conf.
Can it be, that LHC is removing the specified port from the URL ?
Offline
Can be really not sure that lhc support custom ports.
Offline