File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed
packages/compass-web/scripts Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -344,7 +344,7 @@ void electronApp.dock?.hide();
344344
345345logger . log ( '[electron-proxy] starting proxy server on port %s' , PROXY_PORT ) ;
346346
347- const proxyServer = expressProxy . listen ( PROXY_PORT , 'localhost ' ) ;
347+ const proxyServer = expressProxy . listen ( PROXY_PORT , '0.0.0.0 ' ) ;
348348
349349/**
350350 * Keeping a track of websocket proxy sockets so that we can clean them up on
Original file line number Diff line number Diff line change @@ -10,7 +10,7 @@ const { WebSocketServer } = require('ws');
1010 * every follow-up message is directly written to the opened socket stream
1111 */
1212function createWebSocketProxy ( port = 1337 , logger = console ) {
13- const wsServer = new WebSocketServer ( { host : 'localhost ' , port } , ( ) => {
13+ const wsServer = new WebSocketServer ( { host : '0.0.0.0 ' , port } , ( ) => {
1414 logger . log ( 'ws server listening at %s' , wsServer . options . port ) ;
1515 } ) ;
1616
You can’t perform that action at this time.
0 commit comments