ignore hosts option in network proxy in ubuntu 16.04 1

ignore hosts option in network proxy in ubuntu 16.04

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

Here is what the above code is Doing:
1. We’re using the gsettings command to set the proxy settings for the current user.
2. We’re setting the mode to manual, which means that we’ll be specifying the proxy server and port.
3. We’re setting the proxy server to localhost and the port to 8080.
4. We’re setting the ignore-hosts to ignore localhost, the loopback address, and the local network.

Similar Posts