you don't have to set the IP of your android device, but the one of your computer, the device access your computer.
Also it is the local IP, not the public IP, Just set C2 with the IP of your desktop, then restart it as administrator, and preview, the local IP should appear in the url tab of your desktop, just enter it on your device browser/cocoonJS testing app, and should work