Skip to content

Commit 4d7f372

Browse files
committed
GCIQ whitelists 127.0.0.1, not localhost
1 parent 35635b6 commit 4d7f372

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

app/src/main/java/com/cooper/wheellog/GarminConnectIQ.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -495,7 +495,7 @@ public void stopWebServer() {
495495

496496
class GarminConnectIQWebServer extends NanoHTTPD {
497497
public GarminConnectIQWebServer()throws IOException {
498-
super("localhost", 0); // 0 to automatically find an available ephemeral port
498+
super("127.0.0.1", 0); // 0 to automatically find an available ephemeral port
499499
start(NanoHTTPD.SOCKET_READ_TIMEOUT, false);
500500
}
501501

0 commit comments

Comments
 (0)