iOS,android and tizen supports supports host to be Ti.Platform.address.
http://docs.appcelerator.com/titanium/latest/#!/api/Titanium.Platform-property-address