Hello! Please tell me what hosting is needed so that you can run, for example, chat using the websocket protocol? To make the team work, like this:
var socket = new WebSocket("ws://mysite.com:8080"); Hello! Please tell me what hosting is needed so that you can run, for example, chat using the websocket protocol? To make the team work, like this:
var socket = new WebSocket("ws://mysite.com:8080"); Such on which you can launch own application supporting connections on ws. Apache seems to be able to relay ws connections - mod_proxy_wstunnel. Accordingly, hosting where there is such a module may suit you. But I personally wrote separate application services.
For chat, the ideal hosting option is node.js.
Source: https://ru.stackoverflow.com/questions/463485/
All Articles