Cannot connect to localhost web page from Bluestacks Android emulator - asp.net-core

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!

Related

Port forwarding local server to Expo android emulator

I have a local server running in my laptop. I want to access it via localhost in the android emulator. How can I do this?
You can access host machine from inside the android emulator by going to the address 10.0.2.2 inside the emulator.
For example if you have a web service accessible on localhost:8080 on your local machine, you can access the same by typing
http://10.0.2.2:8080
from inside the emulator. More details about emulator networking you can read in the official documentation

Can't run expo project on LAN without internet connectivity

I'm using OSX and when I tried to run my expo app on connected android or iphones, I got an error saying
Something went wrong.
Could not load exp://102.168.43.87:19000. Network response timed out.
But when I'm using a Windows system to start expo, its working on the same LAN without internet.
Any solution?

Deploy WebRTC Demo App on local server

I would like to deploy the WebRTC demo app (https://apprtc.appspot.com) on a local server and run it together with the android WebRTC App.
I've downloaded the code from here but I'm a bit confused of how to run it in local.
Thanks in advance to everyone who will help :)
You need install the Google Cloud SDK and run apprtc as an App Engine app (instructions here) then open it from localhost, e.g. http://localhost:8080.

worklight apps not working on after installed device

I am developed sample worklight http adapter. it working fine then i am going to tested for worklight simulator and android simulator it's both are working fine. while i move to install the in that app on android device i am getting error for url connection is failure and connection refuse problem . then i am going customized change the ipaddress and port number on android project for wlclient.properties then generate APK file it's working fine. this is right way to develop the application or otherwise any configuration level shall i do this? please any think let me shared information
by default WL studio will inject one of the IPs available on your machine. If you're using WL 5.x you can change worklightServerRootUrl property in application-descriptor.xml
If your on WL 6.x right-click your app and select run->build for remote server

Want to run sencha-touch2 application in mobile remotely

I have created a small application in sencha2 and am able to run the application on my desktop
i have put my application in XAMPP and am able to run it using localhost. Is it possible to test my application in mobile remotely ( android / iphone etc ). I want to host my application on free server for testing on mobile can anyone suggest me how can i do this ?