in server.js [123:134]
function fixHostname(host) {
if (host.indexOf(':') >= 0 && host.indexOf('[') < 0) {
// Add brackets to IPv6 address.
host = `[${host}]`;
}
if (host === '0.0.0.0') {
host = '127.0.0.1';
} else if (host === '[::]') {
host = '[::1]';
}
return host;
}