Proxy internet configured in /etc/apt/apt.conf but still not working

mjunaid244

New Member
I am having issue when configuring proxy configuration in Ubuntu 16.04. I have done these steps but still it is not working.
/etc/apt/apt.conf
Acquire::http:: proxy "http://10.16.0.2:8080/";
Acquire::ftp:: proxy "ftp://10.16.0.2:8080/";
Acquire::https:: proxy "https://10.16.0.2:8080/";

Then return to main and execute these commands:
export http_proxy=http://10.16.0.2:8080/
export https_proxy=http://10.16.0.2:8080/

When I run the command env | grep proxy, it shows the proxy setting.
Can you please help me to resolve the issue.
apt server proxy
 

Members online


Top