My app that is using Retrofit (v1.6.1) to connect to REST web services cannot connect to my local web server (running on localhost), this is the error I am gett
localhost
I solved the issue, need to use 10.0.2.2 instead of localhost to connect to my local server.
10.0.2.2
Found it here - http://developer.android.com/tools/devices/emulator.html#networkaddresses