Donate. I desperately need donations to survive due to my health

Get paid by answering surveys Click here

Click here to donate

Remote/Work from Home jobs

Java proxy issue in Ubuntu OS

I am using Ubuntu 16.04 and the system is behind the proxy zone. Proxy setting is configured in /etc/environment apt-get. And URL's are reachable from WGET and CURL. But whenever we tried from Java application or with any java rest clients, it is throwing unknown host exceptions.

Tried setting the -DsocksProxyHost and -Dhttp.proxyHost in command line for testing. Still no luck.

Comments