Allocate ports dynamically in desktop app, fixes #106