Authentication failure via Internet but works fine on same network LAN


I am facing issue while authenticating user via Spark Client 2.6.3 on Internet but same login credentials works fine when authenticate on Intranet i.e. same network. I have port 5222 open from Internet. This issue started couple of days back with no changes in Network and Application side. I have now upgraded both OpenFire and Spark versions to latest one.

Now if I set “Use Old SSL port Method” and port 5223 gets open from Internet, authentication work fine.