If you are using a real device instead of an emulator, set the host configuration option to point to the IP of your development machine. Otherwise, your device will not be able to connect to your host machine.