First of all, the last week to do a few days to work hard, has been using ejabberd, this time for opnefire, some people say opnefire with the new XMPP protocol incompatible, and later replaced by Ejabberd,
Github on the demo, mainly link time, account name login is not correct, will lead to login authentication failure, first you need to create a test1 account in the background, the server host named Admin,
This account is fully stitched up to be called [email protected], and then use this to log in, the success of the server address is 127.0.0.1, the port is the default line,
In addition Ejabberd frame good after the local client use Adium, Opnefire use Spark, these two combination generally more useful, at that time waste good Kung fu always thought is own wrong.
Xmppframework the link server failed in iOS example, Opnefire server link failed