Login Problem

in Help Center
Hy,
I trye to run the android database demo from the Ice3.4.2 demos.
I start the app in the Simulator and it conects to the server running on the same computer.
Now I put the Client app on a Motorola XOOM and trye to connect to the server.
I put in the ip which the server is giving me. After he connects to the database (the server I meean) I get is:
Login failed:Ice.ConnectTimeoutException on a popup window.
This message appears after some 5 sec. In this time I think is doing something.
I have to mention that the application has runned on my PC and smartphone some 2 weeks ago with the glacier started and also without.
What should I do?
Reinstall windows?
I trye to run the android database demo from the Ice3.4.2 demos.
I start the app in the Simulator and it conects to the server running on the same computer.
Now I put the Client app on a Motorola XOOM and trye to connect to the server.
I put in the ip which the server is giving me. After he connects to the database (the server I meean) I get is:
Login failed:Ice.ConnectTimeoutException on a popup window.
This message appears after some 5 sec. In this time I think is doing something.
I have to mention that the application has runned on my PC and smartphone some 2 weeks ago with the glacier started and also without.
What should I do?
Reinstall windows?
0
Comments
The timeout could happen when some of the server addresses are not reachable from the device.
Try to set the SessionFactory endpoints in config.server to an address that is reachable from the device.
See also Object Adapter Endpoints - Ice 3.4 - ZeroC
I connect fine from the emulator.
I use ase above indicated. But when connecting from the Android Phone(Motorola XOOM) I get.
Anibody an Ideea?
Then I trye to connect from the Motorola XOOM and I get the Ice.ConnectTimeoutException.
Any Ideea.
I am getting to frustration with this!
You must replace 192.168.50.2 for you actual ip address.
The error means the address don't belong to your network interfaces, so cannot assign.