Commit f0e48477 authored by Peter Jankuliak's avatar Peter Jankuliak
Browse files

Change default proxy IP on Android

127.0.0.1 -> 127.0.0.137 (to be less standard and so avoid clashes)
parent 26c59cd2
......@@ -22,10 +22,10 @@ public class Ouinet {
System.loadLibrary("client");
System.loadLibrary("native-lib");
System.setProperty("http.proxyHost", "127.0.0.1");
System.setProperty("http.proxyHost", "127.0.0.137");
System.setProperty("http.proxyPort", "8080");
System.setProperty("https.proxyHost", "127.0.0.1");
System.setProperty("https.proxyHost", "127.0.0.137");
System.setProperty("https.proxyPort", "8080");
}
......@@ -58,8 +58,8 @@ public class Ouinet {
List<String> args = new ArrayList<>();
args.add("ouinet-client"); // App name
args.add("--repo=" + config.getOuinetDirectory());
args.add("--listen-on-tcp=127.0.0.1:8080");
args.add("--front-end-ep=127.0.0.1:8081");
args.add("--listen-on-tcp=127.0.0.137:8080");
args.add("--front-end-ep=127.0.0.137:8081");
// Useful for debugging
//args.add("--disable-origin-access");
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment