I have a Node.js app that uses a socket to connect to the internet, but some clients with Windows systems are on multiple networks, with the first one lacking internet. This causes the socket to fail. How can I fix this?[enter image description here](https://i.sstatic.net/v8GOh7Go.jpg)
Note I cannot modify the networks for clients
I tried to customize the socket connection to the second network but I could not do this
user20223633 is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.