e.g. EADDRNOTAVAIL might be thrown if the hostname is invalid.
We might even do a grunt.fatal, but I'm not sure.
I added a second fix in this patch because the first commit failed the build: If hostname is set to 0.0.0.0, grunt tries to do the port scan on this ip, which obviously fails. I added a rule to rewrite 0.0.0.0 to 127.0.0.1.
e.g. EADDRNOTAVAIL might be thrown if the
hostname
is invalid.We might even do a
grunt.fatal
, but I'm not sure.I added a second fix in this patch because the first commit failed the build: If
hostname
is set to0.0.0.0
, grunt tries to do the port scan on this ip, which obviously fails. I added a rule to rewrite0.0.0.0
to127.0.0.1
.