Multiple websockify instances in same port

36 views
Skip to first unread message

Adamos Hadjivasiliou

unread,
Mar 14, 2025, 1:29:11 PMMar 14
to noVNC
Hi! 

I want to setup a fastapi proxy to get vnc connections from multiple (50-100) tightvnc connections. Im currently running a new subprocess on a new port for each machine. But is there a way to serve all of them in one port? Is that the token based? What are the limitations? Thank you! 

Pierre Ossman

unread,
Mar 18, 2025, 2:44:53 AMMar 18
to no...@googlegroups.com, Adamos Hadjivasiliou
That is indeed what the tokens are for. We have a bit of documentation
on the wiki:

https://github.com/novnc/websockify/wiki/Token-based-target-selection

But it is unfortunately not complete. You'll need to check the code for
currently available plugins:

https://github.com/novnc/websockify/blob/master/websockify/token_plugins.py

Regards,
--
Pierre Ossman Software Development
Cendio AB http://cendio.com
Teknikringen 8 http://twitter.com/ThinLinc
583 30 Linköping http://facebook.com/ThinLinc
Phone: +46-13-214600

A: Because it messes up the order in which people normally read text.
Q: Why is top-posting such a bad thing?
Reply all
Reply to author
Forward
0 new messages