Here is my setup:
- Windows 8.1 with Ubuntu 18.04 within VirtuablBox 6.0
- Run a websocket server at 127.0.0.1:8083 within VirtuablBox
- Within the VirtuablBox, I can connect to the websocket server with
websocat ws://127.0.0.1:8083
What is the setup I should use in order for me to connect to the websocket server through the Chrome extension(i.e Smart Websocket Client) running on Windows host machine.
I have tried to connect to '127.0.01:8083' within Smart Websocket Client, but the error is shown:
Failed to construct 'WebSocket': The URL '127.0.01:8083' is invalid.
Thank you
Configure a port forward in Virtualbox. Web sockets is a regular TCP stream, and there's no reason it should not work.
As noted you have port forwarding configured for SSH, so simply add another one for the websocket port.