How to test android apps outside private domain

I have setup the private domain server (a Virtual machine)
for asp.net web service.
But I also need to test the connectivity of an android app towards
this service.
What I do now is to put the emulator inside the Virtual Machine
So that it knows about the private server "within" the box.
How can I test the system in real phones (through VPN etc)?
Thanks
Jack

我試過,電話用wifi直接上自家network,再改埋電話既dns做自家dns,就可以去到自家既web service。

TOP

你將部 VM bridge 落屋企個 LAN,啲 code 個 domain 名暫時 replace 做 IP,咁正路已經試到。

TOP

Hello,
I wonder if this strategy works if I am on the road (using bluetooth)
Because I have to talk to the client and demostrate it on the road,
Can I setup the dns of the phone to look for the VM inside my notebook
and talk to the database inside there?
Thanks

TOP

用或吾用VM 關系不大, 應該系由街connect 到你家中既問題, 吾關用咩App or web services 事
當中就系D ROUTER ROUTE 去你部機(SERVER), FIREWALL ,PORTING 等等

TOP

Bridge左個VM, DDNS個Router, 再set埋Port Forward應該就解決到

TOP