So if you would like to connect your emulator to the external world, please continue reading.
First thing you need to do is to install the Virtual Machine Network Driver for Microsoft Device Emulator.
To download that visit,
http://www.microsoft.com/downloads/details.aspx?familyid=DC8332D6-565F-4A57-BE8C-1D4718D3AF65&displaylang=en.
Then install it in your machine.
After installing it, new item will come under your network connection properties named "Virtual Machine Network Services". To make the emulator use your current network connection, you have to select the "Virtual Machine Network Services" check box. Afterwards it will use this connection when connecting out side.
Go to Click on Start->Settings and select Connections in the emulator. Then select "Network Cards".
Select "NE2000 Compatible Ethernet Driver" from Configure Network Adapters screen.
After doing the settings you have to restart the device emulator to make the changes effective by clicking File->Reset->Soft from the emulator screen.
When the device restarts your emulator will have the ability to access the network.
To test the connectivity open the File Explorer from the Programs. Then click on Menu -> Open Path-> New Path…. Then type a valid path in your network and press Ok. Then you will be prompted for a User name, Password and a Domain. Fill the applicable details and press Ok.
If it doesn’t get connected check the emulator connection settings. Check whether you need to setup proxies. To setup proxies click Start->Settings and go to Connections tab and select Connections and click on the "Set up my proxy server". Select "This network connects to internet" check box to make the emulator access internet. If proxies are used then enter the proxy details also.
If you correctly setup, the emulator will connect to the network and internet without problems.
Hello,This post was very helpful and it indeed saved me a lot of time because now I can test most of my code off the device including the socket APIs which I was not able to do so before because of configuration settings.ThanksJayesh