You cannot consume the service located locally, You may have to setup the DNS in you device or emulator, so that it can resolve the host name.The way is
Settings -> Wireless Control -> Mobile Networks -> Access Point Names
click on the one that is in use, fill in Proxy and Port with your DNS server.