HTTP Proxy settings

336 views
Skip to first unread message

Kevin Klopfenstein

unread,
Jan 24, 2014, 9:27:53 AM1/24/14
to andro...@googlegroups.com
I've been digging through this group and various blogs for some time now, and have found conflicting methods on how to set an HTTP proxy in android-x86. Unfortunately, no method I've tried has worked so far.

I've tried the following methods:

Using setprop: 

setprop net.gprs.http-proxy http://169.254.1.1:8080

and

setprop global_http_proxy_host mynetworkproxy
setprop global_http_proxy_port 8080

Using export: 

export http_proxy=http://169.254.1.1:8080

Using SQLite

sqlite3 /data/data/com.android.providers.settings/databases/settings.db
INSERT INTO system VALUES(99,'http_proxy','169.254.1.1:8080');

I've tried the above methods on the following three builds:

android-x86-4.0-RC2-eeepc
android-x86-4.2-20130228
android-x86-4.3-20130725

If it's any help, I'm using VirtualBox 4.1.22 and am using NAT on Windows 7. I can connect to LAN IP addresses just fine and ping the proxy server from the Android shell, but the stock Android browser and other apps will not connect to the internet via HTTP proxy. I know the proxy server works, as it works fine through Windows.

Been at this a couple days, so if anyone has any insight I'd appreciate it.

Thanks in advance for the help,

Kevin
Reply all
Reply to author
Forward
0 new messages