ST Community Manager
August 22, 2026
Solved
[ERROR - Linux] Stm32CubeMX2 - unable to find a random port on any host
- August 22, 2026
- 8 replies
- 47 views
This account only shares restored community content posted by members between May 22 and June 9, 2026, who did not register for the new community.
Hello,
I am currently facing a strange error when trying to create a project with any MCU/Board on Linux.
As shown on the screenshots, an error appears on dependencies download :
Unable to find a random port on any host GetPortError:
Unable to find a random port on any ...
And it spin indefinitly.
This error seems to be related to Electron rather than the soft itself, but I can hardly follow the execution path of stm32CubeMX2 to know where I could maybe enforce another port.
Did anyone already encountered this bug ?
Thanks.
