Websockets not locally
I was using this examples (doc.qt.io/qt-5/qtwebsockets-simplechat-example.html) to find out how to use websockets. Everythink works fine locally, but I don't know what next.
What must be done to put this (doc.qt.io/qt-5/qtwebsockets-simplechat-chatclient-html.html) file on web server, and make it connect to my websocket server on my pc? Guess changing 'localhost' in this line:
var wsUri = "ws://localhost:1234";
to my global-ip won't solve the problem (already tried change this, open port, and run this html file on my pc, but it can't connect).
I think I'm missing few steps. Maybe it's not raw QT problem, but I will be thanful for any clue.