Titanium Mobile: java.net.UnknownHostException error when using the AVD emulator

Doing some local development with Titanium and I noticed that when using the xhr object to hit my localhost server (idxdot.dev), and testing using the emulator, I got this error: (TiHttpClient-1) [7,236164] HTTP Error (java.net.UnknownHostException): idxdot.dev E/TiHttpClient( 417): java.net.UnknownHostException: idxdot.dev E/TiHttpClient( 417): at java.net.InetAddress.lookupHostByName(InetAddress.java:513) E/TiHttpClient( 417): at java.net.InetAddress.getAllByNameImpl(InetAddress.java:278) E/TiHttpClient( 417): at java.net.InetAddress.getAllByName(InetAddress.java:242) E/TiHttpClient( 417): atContinue reading “Titanium Mobile: java.net.UnknownHostException error when using the AVD emulator”