Explicitly-allowed-ports switch isn't working


#1

I need to talk to a web server that’s operating on port 87. When I try, I get the error ERR_UNSAFE_PORT. Typically this can be fixed in Chrome by starting up with the explicity-allowed-ports switch but I’m trying this before app.on('ready… and it’s not changing anything:

app.commandLine.appendSwitch('explicitly-allowed-ports', '87');

Does anyone know what could be causing this?