Skip to content

Commit 03abb96

Browse files
author
nadav mizrahi
committed
change defalut http server listen ip from 0.0.0.0 to nodes default configuration
Signed-off-by: nadav mizrahi <nadav.mizrahi16@gmail.com>
1 parent 5029cf7 commit 03abb96

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/util/http_utils.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -954,7 +954,7 @@ function listen_port(port, server, server_type) {
954954
if (server_type !== 'METRICS' && server_type !== 'FORK_HEALTH') {
955955
setup_endpoint_server(server);
956956
}
957-
const local_ip = process.env.LOCAL_IP || '0.0.0.0';
957+
const local_ip = process.env.LOCAL_IP || undefined;
958958
server.listen(port, local_ip, err => {
959959
if (err) {
960960
dbg.error('ENDPOINT FAILED to listen', err);

0 commit comments

Comments
 (0)