I'm troubleshooting an issue on our website which I can only reproduce using an Android phone or Android emulator, not using a browser's built-in emulator. On my environment (cloud VM), the only emulator that works is BlueStacks. I am running the website locally from Visual Studio (ASP.NET Core) on port 7086. However, I can't connect to it from the emulator. I have tried connecting to 10.0.2.2:7086, but I get ERR_CONNECTION_TIMED_OUT. The only answers I can find on StackOverflow indicate that this should work, so I'm not sure what else to try. Thanks!
            Asked
            
        
        
            Active
            
        
            Viewed 287 times
        
    0
            
            
         
    
    
        NSouth
        
- 5,067
- 7
- 48
- 83
- 
                    [In your API/URL directly use `http://10.0.2.2:[your port]/` and under emulator setting add the proxy address as 10.0.2.2 with the port number](https://stackoverflow.com/a/55606008/18789859). If that doesn't work, you can try [using a proxy](https://stackoverflow.com/a/59217370/18789859) – Chen Nov 24 '22 at 07:50
