File tree Expand file tree Collapse file tree 2 files changed +6
-0
lines changed
Expand file tree Collapse file tree 2 files changed +6
-0
lines changed Original file line number Diff line number Diff line change 598598 "type" : " integer" ,
599599 "description" : " PIO Home server HTTP port (the default value 0 automatically assigns a free port in the range [8010..8100])"
600600 },
601+ "platformio-ide.pioHomeServerHttpHost" : {
602+ "type" : " string" ,
603+ "default" : " 127.0.0.1" ,
604+ "description" : " PIO Home server HTTP host (default is 127.0.0.1, but in case of dockerized environments 0.0.0.0)"
605+ },
601606 "platformio-ide.customPyPiIndexUrl" : {
602607 "type" : [
603608 " string" ,
Original file line number Diff line number Diff line change @@ -95,6 +95,7 @@ export default class PIOHome {
9595 this . _lastStartUrl = startUrl ;
9696 await pioNodeHelpers . home . ensureServerStarted ( {
9797 port : extension . getSetting ( 'pioHomeServerHttpPort' ) ,
98+ host : extension . getSetting ( 'pioHomeServerHttpHost' ) ,
9899 onIDECommand : async ( command , params ) => {
99100 if ( command === 'open_project' ) {
100101 if ( extension . projectObservable ) {
You can’t perform that action at this time.
0 commit comments