neutralinojs / neutralinojs-cli

neu cli for Neutralinojs
https://neutralino.js.org/docs/cli/neu-cli
MIT License
91 stars 57 forks source link

Use ipv4 loopback address #214

Closed ElDonad closed 1 year ago

ElDonad commented 1 year ago

Because some OSes, especially windows, tend to use the ipv6 version of the loopback address (::1), which does not work with the neutralino server, and some versions of NodeJS (>= 18) do resolve localhost addresses using the hosts config of the OS.

In response to the issue #208

ElDonad commented 1 year ago

Yeah, it's fixed in Node 20 I think, but this way it works with all Node versions.