mirror of
https://github.com/servalproject/serval-dna.git
synced 2025-02-01 00:45:28 +00:00
Don't depend on the ability to correctly resolve localhost
This commit is contained in:
parent
75dfcff213
commit
fe7a839df5
@ -199,7 +199,7 @@ public class ServalDClient implements ServalDHttpConnectionFactory {
|
||||
param.uri_encode(str);
|
||||
sep = '&';
|
||||
}
|
||||
URL url = new URL("http://localhost:" + httpPort + path + str.toString());
|
||||
URL url = new URL("http://127.0.0.1:" + httpPort + path + str.toString());
|
||||
URLConnection uconn = url.openConnection();
|
||||
HttpURLConnection conn;
|
||||
try {
|
||||
|
Loading…
x
Reference in New Issue
Block a user