How can I connect to a network service on hosting OS from Multiplatform commonTest
I am testing out KMM, and having a KMM library connecting to a grpc service on hosting machine.
I then have a simple test in commonTest, trying to make the connection to the service. I then run the test from AS, choosing Android as the target. However, I simply cannot make it work:
If I use localhost as the destination host, I get a connection rejection error.
Then I thought maybe this is running from Android emulator, so I use 10.0.2.2. This gives me Operation timed out error.
So, what is...