I am developing android app using Google Cloud Messaging. I am using external server xampp and testing it on external mobile(no emulator as it is slow). This is basically chatting app. I am facing problem in getting connection.
I know i need to use <http://10.0.2.2:8080> ip for testing if I am using emulator in my client code.
and somehow I need to use router ip <http://192.168.x.xx:8080> if I want to test it on external device. I need some guidance as how to configure things to make it possible. 

Thanks
Deepak