Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
Jenny Ryan
ouinet
Commits
f0e48477
Commit
f0e48477
authored
Apr 16, 2020
by
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
Changes
1
Hide whitespace changes
Inline
Side-by-side
android/ouinet/src/main/java/ie/equalit/ouinet/Ouinet.java
View file @
f0e48477
...
...
@@ -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.1
37
"
);
System
.
setProperty
(
"http.proxyPort"
,
"8080"
);
System
.
setProperty
(
"https.proxyHost"
,
"127.0.0.1"
);
System
.
setProperty
(
"https.proxyHost"
,
"127.0.0.1
37
"
);
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.1
37
:8080"
);
args
.
add
(
"--front-end-ep=127.0.0.1
37
:8081"
);
// Useful for debugging
//args.add("--disable-origin-access");
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment