Connecting to the Openfire server from natted IP address, I am facing issue like all spark groups are not visible, and from local range IP address, all groups are properly shown.
What is thhe issue ??
I suspect that you have configured Openfire to use an IP address as the XMPP domain name. That would be a mistake. Instead, use a static domain name. The translation between domain name and IP address is made using DNS records.