Search code examples
windows-phone-8ip-addresscommand-promptipconfig

Typing 'ipconfig' into Command Prompt shows two IPv4 addresses. Which one is my computer?


I'm tring to test my Windows Phone 8 app on an actual device, but I need the IP Address of my computer in order to do this. When I type 'ipconfig' in the command prompt, it shows two different IPv4 addresses and I can't tell which is the correct one for my computer that will allow me to test the app on a device.

Command Prompt Output:

Ethernet Adapter vEthernet <Internal Ethernet Port Windows Phone Emulator Internal Switch>:
    IPv4 Address......: 169.254.xx.xx

Ethernet Adapter vEthernet <New Virtual Switch>:
    IPv4 Address......: 192.168.x.xxx

I'm having a heck of a time getting this app to actually work on a device so if there is anything you see that is off, by all means let me know. My concern in this question though, is which of these is the true IP Address of my computer?


Solution

  • The first one is your computer's IP address, the second one is for application or OS virtualization.