I have a Spring Restful API Server running locally on my machine.
I start/stop it as a Tomcat App server via Eclipse's Server's tab.
I also have built an Appcelerator app that makes calls to this server.
When I run my app via the Android Emulator option in Titatium Studio it connects and retreives data fine from my local server. The request is:
var TRANSACTIONS_URL = 'http://myipaddress:8080/PurchaseAPIServer/api/purchase';
I encounter a problem when I connect my android device to machine via a usb cable (in developer mode) and install/run the app on Android Device with Titanium Studio.
My locally running server is never been hit.
I have tried options mentioned in this article but had no luck: Accessing webserver running within Eclipse from outside the workstation
Is there a way to get around this?
Thanks