Hello, iam starting with K-Tor , i have build a fe...
# ktor
m
Hello, iam starting with K-Tor , i have build a few endpoints that i can access from browser on my machine, from emulator browser via
<http://10.0.2.2:8080/>....
, but when iam trying to get the data from android app via
client.call("<http://10.0.2.2:8080/....>")
i get
java.net.ConnectException: Failed to connect to localhost/127.0.0.1:80
any ideas what might be wrong?
👀 1
e
Hi @martin.petrulak, could you create an issue?
I can't reproduce it with my sample
s
@martin.petrulak is the emulator using any proxy? Try to restart computer. What is your httpClient’s setting like?
m
Hey folks, i figured it myself, my url was wrong, all good now. Now i have to sort ourt other 100 things 😉
s
😀