platformio-node-helpers icon indicating copy to clipboard operation
platformio-node-helpers copied to clipboard

Clues about "start PIO Home server: Timeout error" in Windows.

Open Parahexen opened this issue 10 months ago • 1 comments

I've encountered this problem today, and there are a lot of same issues on the platformio-vscode-ide. After some diggings, this may due to the confliction of port range settings.

The major problem there is:

const HTTP_PORT_MIN = 45000;
const HTTP_PORT_MAX = 45999;

this range is conflicted with WSL on [44619, 48715] (4097 ports) if WSL is running in mirrored networking.

change this range may fix the problem for many users.

Parahexen avatar Mar 25 '25 17:03 Parahexen

Does 44600 work for you? You change it using https://docs.platformio.org/en/latest/integration/ide/vscode.html#platformio-ide-piohomeserverhttpport

ivankravets avatar Mar 25 '25 18:03 ivankravets