You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@guacamole.apache.org by Balasubramanian NithishAnand MT-SWDC-IN <Ni...@mt.com> on 2025/03/26 05:04:43 UTC
Assistance Required for WebSocket Integration with Guacamole
Dear Team,
I hope this message finds you well. I have a business requirement where I need to connect to a WebSocket server (ws://localhost:9000/8000). From my understanding, Guacamole primarily supports specifying the TCP port for connections.
In this scenario, the WebSocket server (ws://localhost:9000/8000) uses port 8000, which is the tunneled port for 5900 of a remote device. I would like to understand how I can configure Guacamole to connect to this WebSocket server effectively.
Your guidance on achieving this integration would be greatly appreciated.
[cid:image004.jpg@01DB9E3A.ABC4BA10]
I have also tried with noVNC where I was able to connect with both TCP port and web socket server(ws:localhost:9000/8000).
E.g., URL : https://localhost/vnc.html?host=localhost&port=9000&path=8000
Reference:
[cid:image005.png@01DB9E3A.ABC4BA10]
Best regards,
Nithish Anand
Re: Assistance Required for WebSocket Integration with Guacamole
Posted by Nick Couchman <vn...@apache.org>.
On Wed, Mar 26, 2025 at 1:05 AM Balasubramanian NithishAnand MT-SWDC-IN <
NithishAnand.Balasubramanian@mt.com> wrote:
> Dear Team,
>
> I hope this message finds you well. I have a business requirement where I
> need to connect to a WebSocket server (ws://localhost:9000/8000). From my
> understanding, Guacamole primarily supports specifying the TCP port for
> connections.
>
> In this scenario, the WebSocket server (ws://localhost:9000/8000) uses
> port 8000, which is the tunneled port for 5900 of a remote device. I would
> like to understand how I can configure Guacamole to connect to this
> WebSocket server effectively.
>
> Your guidance on achieving this integration would be greatly appreciated.
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
> I have also tried with noVNC where I was able to connect with both TCP
> port and web socket server(ws:localhost:9000/8000).
>
> E.g., URL : https://localhost/vnc.html?host=localhost&port=9000&path=8000
>
>
>
> Reference:
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
> Best regards,
> Nithish Anand
>
>
Guacamole does not support connecting to a VNC WebSocket connection
directly, which is what it appears you're attempting to do. It is likely
possible to modify the source code to do this, but currently the only
connection to WebSockets that Guacamole supports is for the Kubernetes
protocol support.
-Nick