xpra icon
Bug tracker and wiki

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

Opened 4 years ago

Closed 4 years ago

Last modified 16 months ago

#1945 closed enhancement (fixed)

support automatic port allocation

Reported by: Antoine Martin Owned by: J. Max Mena
Priority: minor Milestone: 2.4
Component: network Version: 2.3.x
Keywords: Cc:


So we can do:

xpra --bind-tcp=

And let the OS choose a port number of us.
Print it out and expose it via xpra info.

Change History (3)

comment:1 Changed 4 years ago by Antoine Martin

Owner: changed from Antoine Martin to J. Max Mena

Related to r20286.
Done in r20287.


$ xpra start --start=xterm --bind-tcp= --no-daemon  --bind-ws= 
allocated tcp port 35543 on
allocated ws port 37307 on

This works with all socket types, including UDP, and the correct port number is shown in the mdns session browser.

@maxmylyn: just a FYI.

comment:2 Changed 4 years ago by J. Max Mena

Resolution: fixed
Status: newclosed

Noted and closing.

comment:3 Changed 16 months ago by migration script

this ticket has been moved to: https://github.com/Xpra-org/xpra/issues/1945

Note: See TracTickets for help on using tickets.