[Spice-devel] Feature suggestion: Port tunneling between VM & client over spice-channel
wangjiedong
wangjiedong at kylinos.cn
Fri Nov 16 03:47:32 UTC 2018
Hi , I'm using spice web client because of your introduction.i have some questions to ask for help.
i configure webcocket with command "python2-websockify 5959 192.168.84.203:5900" , then if i use url "http://192.168.84.203/spice-web-client/index.html?host=192.168.84.203&port=5959", if failed with
"Connection error. Please, close this window." , then if i configure js.run :
......
app.run({
'callback': f,
'context': this,
'host': '192.168.84.203',
'port': 5959,
'protocol': getURLParameter('protocol') || 'ws',
......
then use url "http://192.168.84.203/spice-web-client/index.html", it failed with "Could not open websocket at host 192.168.84.203. Websocket server may be down. Also your browser may not trust the certificate. If so, please instruct your browser to trust the certificate for 192.168.84.203 and try again to open console."
Is websocket proxy wrong ? or How can i use it successfully ?
Thank you for help!
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/spice-devel/attachments/20181116/c2d303cf/attachment-0001.html>
More information about the Spice-devel
mailing list