has anyone had issues trying to get a Compose for Desktop application to get network access on Windows? is there some trick to enabling network connectivity? I'm building an app using a Windows machine for development, and there's nothing I can do with networking that doesn't result in an exception "Connection refused: no further information":
👀 1
that exception is triggered by attempting a request with Ktor Client, but I'm seeing no connectivity using any other networking classes too.
k
Kirill Grouchnikov
03/19/2022, 12:10 PM
Is it any different if you do a simple main function using ktor without any compose code in it?
j
james
03/19/2022, 12:13 PM
it fails even if I attempt to use a standard java.net Socket
I haven't had this issue on my mac.. seems to be specific to this Windows machine 🤔
k
K Merle
03/19/2022, 12:19 PM
Could it be your firewall?
j
james
03/19/2022, 11:50 PM
as an update: it wasn't the firewall, I tried disabling it entirely to test that
.. in the end, rebooting the machine and trying again worked. yay Windows! 😬
🙌 1
s
spierce7
03/20/2022, 6:43 PM
uh oh
working around weird networking issues can be problematic.
Other applications were able to access the internet, right?
j
james
03/20/2022, 8:36 PM
yeah, everything else was working as normal. it was a weird one. I haven't seen the issue again since