Requests from an application running in WSA to a local address on a PC #165
romantictrust
started this conversation in
General
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hello! I would like to know if I can somehow send requests from an application running in WSA to a local backend application running on the same PC? I used Android studio before, but I don't like how it works at all, so I would like to use WSA for development, but I don't want to use Android studio or VS (I'm a backend developer). I also noticed that in Android studio device manager the WSA virtual machine starts as a hardware device (it's also funny that wsa makes a sound of a connected USB device when it starts), I suspect that because of this, the android application cannot make http requests to the address of my pc application. In Android Studio, an application in a virtual machine can make requests to the local backend, only as if mapping is being done: if the application is hosted on 127.0.0.1:5003, then requests must be sent to 10.0.2.2:5003.
Beta Was this translation helpful? Give feedback.
All reactions