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.