I know there tons of topics about this, but after trying a lot, I feel tired. So here is my problem: I have an asp.net application (IIS server, debug mode) that I run on a virtual machine (vmplayer). The Ip is set automatically but I got it through ipconfig, and I first tried to connect with my 'main' windows (hosting the virtual machine), it did'nt work, so I installed sharpProxy , converted my IIS port to another one, add an inbound rule to the firewall, and it worked! But when I tried with an android phone (2 actually), it didn't: "connection timed out".
Interesting note: when I ping the server from my android mobile, I have no answer from it.
No matter what I try, it doesn't work. Any idea ? Dns, hosts files from android ?
Thanks for your answers!
Update: You have found your answer (great), i'll update this slightly and maybe someone will find it useful...
A few things to check that are typical for what you are trying to do:
On the hypervisor either:
Or
<external port number> = <VM's IP address>:<VM's port number>
under [incomingtcp]
ie 4017 = 172.16.126.128:5000
) Or
Okay,
In the end, I found the trick: as my mobile phone didn't detect my VM windows on the network, I felt the problem could be that the VM was not configured for the wireless router...
The problem was VMplayer doesn't enable Wifi connection by default...
Modified my network VM settings (Network adapter -> Bridged: Connected directly to the physical network) which actually connects your VM to the network, otherwise, it seems to be only connected to the host. Then ran sharpProxy, and it worked !!!!.
So, it should be:
Thanks KCD for the tip of Fing software which led me to the solution.
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.