File tree Expand file tree Collapse file tree 4 files changed +4
-4
lines changed
Expand file tree Collapse file tree 4 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -137,7 +137,7 @@ class UtapiServer {
137137 https : config . https === true ,
138138 } ) ;
139139 } ) ;
140- this . server . listen ( this . port ) ;
140+ this . server . listen ( this . port , "127.0.0.1" ) ;
141141 }
142142
143143 /*
Original file line number Diff line number Diff line change @@ -62,7 +62,7 @@ class UtapiServer extends Process {
6262 cacheBackend : config . cacheBackend ,
6363 } )
6464 . info ( `Server listening on ${ config . port } ` ) ;
65- await server . listen ( config . port ) ;
65+ await server . listen ( config . port , "127.0.0.1" ) ;
6666 }
6767
6868 async _setup ( ) {
Original file line number Diff line number Diff line change @@ -196,7 +196,7 @@ class BucketD {
196196 start ( ) {
197197 this . _initiateRoutes ( ) ;
198198 const port = 9000 ;
199- this . _server = http . createServer ( this . _app ) . listen ( port ) ;
199+ this . _server = http . createServer ( this . _app ) . listen ( port , "127.0.0.1" ) ;
200200 }
201201
202202 end ( ) {
Original file line number Diff line number Diff line change @@ -21,7 +21,7 @@ class Vault {
2121
2222 start ( ) {
2323 const { port } = config . vaultd ;
24- this . _server = http . createServer ( this . _onRequest ) . listen ( port ) ;
24+ this . _server = http . createServer ( this . _onRequest ) . listen ( port , "127.0.0.1" ) ;
2525 }
2626
2727 end ( ) {
You can’t perform that action at this time.
0 commit comments