powered by Jive Software

Rest API user retrieve from Openfire server not working

While run rest api from openfire through emulator it’s running perfectly. It’s not working when i run in my mobile. it’s showing error something like “java.net.ConnectException: Failed to connect to /” If any body help me. it’s very precious to me.

Can your mobile device connect over the network to that IP and port?