/
Configure Proxy

Configure Proxy

Within the GUI a proxy can easily be configure in the options dialog.

Select the WWW section and you can specify the proxy settings:

Configure Proxy without GUI

If you can’t use the GUI, the proxy settings can be provided in a properties file. This must be located in

On Windows: <USER_HOME>\AppData\Roaming\SNAP\config\Preferences\org\netbeans

On Unix: <USER_HOME>\.snap\config\Preferences\org\netbeans

In both cases, the file must be named core.properties.

Also, the GUI stores the configuration in this file.

proxyAuthenticationUsername=MyName proxyAuthenticationPassword=MyPw proxyHttpHost=www.samplehttp.int proxyHttpPort=4816 proxyHttpsHost=www.samplehttps.int proxyHttpsPort=1213 proxySocksHost=www.samplesocks.int proxySocksPort=1214 proxyType=2 useProxyAllProtocols=true useProxyAuthentication=true WWWBrowser=SL[/Browsers/SystemDefaultBrowser

The above shows a not working example, but it shows at least some of the configuration options. A working example can be created by using the GUI once (maybe on another machine) and do the configuration. Afterwards pick-up the file and use it as your template.
One word regarding the password. The first time the configuration is used the password is read and removed from this property file. Instead, it is stored in a Keyring. So it is not publicly visible anymore.

Related content

SNAP Configuration
SNAP Configuration
More like this
How to move .snap directory to a different location
How to move .snap directory to a different location
Read with this
Update SNAP from the command line
Update SNAP from the command line
More like this
Bulk Processing with GPT
Bulk Processing with GPT
Read with this
Preferences System Migration
Preferences System Migration
More like this
NetBeans Development Introduction
NetBeans Development Introduction
More like this