Closed vikramdurai closed 7 years ago
:shipit:
:shipit:
:shipit:
:shipit:
:shipit:
This is really misleading and shouldn't have been merged at all. If an IP address is passed to http.listen()
, node will listen on that IP, not localhost
. Otherwise, node would listen on 0.0.0.0
(or ::
on IPv6), not 127.0.0.1
.
A small change to make it that it outputs "localhost:{port}" or "127.0.0.1:{port}"
http.listen()
, node will listen on that IP, notlocalhost
. Otherwise, node would listen on0.0.0.0
(or::
on IPv6), not127.0.0.1
.