I have an Android application that talks to a server app running on grails (Groovy on Grails).
Android app basically establishes a connection with this address:
It all works fine when both the server and the Android phone are connected in the same LAN network.
Now the problem arises when I want the phone to talk to the server while the phone is outside the local network (I need it to use edge).
I came across VPN networks which I think might help me out. (the server has dynamic IP)
So what I did was go to dyndns.com and created a new hostname and have the app successfully run on the server. The host I created was - tmagrails.dyndns.com
How do I make my phone connect to this network? What changes am I supposed to make in order to get things working? Also, I really want to know if this is the right approach. If not, is there any way to get things going for me?