I tried jrdc2 by just downloading the sample. Using same wifi connection it works. But if different wifi connection the android phone dosnt connect. Is there any configuration or setup to be done in an android phone?
If the network is configured properly then it should work.
This is not really related to jRDC2. jRDC2 is a regular http server. If you can access its port then it will work.