Check out example codes for "ignore hosts option in network proxy in ubuntu 16.04". It will help you in understanding the concepts better.

Code Example 1

gsettings set org.gnome.system.proxy ignore-hosts "['localhost', '127.0.0.0/8', '192.168.1.0/24', 'npmjs.org', '::1']"

Learn ReactJs, React Native from akashmittal.com