xpra icon
Bug tracker and wiki

Opened 2 years ago

Closed 2 years 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 (2)

comment:1 Changed 2 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 2 years ago by J. Max Mena

Resolution: fixed
Status: newclosed

Noted and closing.

Note: See TracTickets for help on using tickets.