File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -365,7 +365,7 @@ export class Server {
365365 this . httpServer = httpServer ;
366366
367367 if ( this . monitoringApp ) {
368- this . monitoringHttpServer = this . monitoringApp . listen ( MONITORING_PORT , "localhost " , ( ) => {
368+ this . monitoringHttpServer = this . monitoringApp . listen ( MONITORING_PORT , "127.0.0.1 " , ( ) => {
369369 log . info (
370370 `monitoring app listening on port: ${ ( < AddressInfo > this . monitoringHttpServer ! . address ( ) ) . port } ` ,
371371 ) ;
Original file line number Diff line number Diff line change @@ -48,8 +48,8 @@ export const start = async (container: Container) => {
4848 res . send ( await mergedRegistry . metrics ( ) ) ;
4949 } ) ;
5050 const metricsPort = 9500 ;
51- const metricsHttpServer = metricsApp . listen ( metricsPort , "localhost " , ( ) => {
52- log . info ( `prometheus metrics server running on: localhost :${ metricsPort } ` ) ;
51+ const metricsHttpServer = metricsApp . listen ( metricsPort , "127.0.0.1 " , ( ) => {
52+ log . info ( `prometheus metrics server running on: 127.0.0.1 :${ metricsPort } ` ) ;
5353 } ) ;
5454
5555 const debugApp = container . get < DebugApp > ( DebugApp ) ;
You can’t perform that action at this time.
0 commit comments