xpra icon
Bug tracker and wiki

This bug tracker and wiki are being discontinued
please use https://github.com/Xpra-org/xpra instead.


Changes between Version 2 and Version 3 of TCPSocketSharing


Ignore:
Timestamp:
07/26/14 11:25:13 (7 years ago)
Author:
Antoine Martin
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • TCPSocketSharing

    v2 v3  
    22
    33[[BR]]
    4 "{{{--tcp-proxy=}}}"
     4The {{{--tcp-proxy=}}} server command line option.
    55[[BR]]
    66
    77{{{#!div class="box"
     8== Introduction ==
    89This feature allows xpra to share the same TCP socket with another server.
    910
    10 It can be useful in environments where the number of open ports is limited.
     11The non-xpra traffic will be forwarded to the destination of your choice.
     12By sharing the socket with a web server, you can have web pages open when connecting with a browser (and potentially serving an HTML5 client - see #473) and access xpra session(s) when connecting with an xpra client.
     13
     14It can also be useful in environments where the number of open ports is limited.
    1115}}}
     16
     17{{{#!div class="box"
     18== Usage Example ==
     19
     20Assuming that you have a web server on TCP port 80 and that you want to expose both xpra and this web server via the TCP port 8080:
     21{{{
     22xpra start :10 --bind-tcp=0.0.0.0:8080 --tcp-proxy=127.0.0.1:80
     23}}}
     24}}}