I'm creating a simple offline hobby app, that doesn't use the internet for anything, using NW.js.
Although nowhere in my app is there any call to the internet, my firewall tells me nw.exe keeps trying to connect to the internet every time I run the app.
Is there a way to stop NW.js from making any calls to the internet?
I looked up the IP, it's apparently calling Google, I imagine this must be something from Chromium.
This seems to be something Chromium does, rather than NW.js. But since NW.js is built on top of Chromium it inherits it.
Some related GitHub issues:
One suggestion is to add the following to the
package.json:This will prevent any external network calls from working. Which sounds like what you want. Give it a try, if it does not work and you have additional information, you should contribute to those GitHub issue threads.