Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Not able to connect #8

Open
bibhusundarparida opened this issue Jan 15, 2016 · 1 comment
Open

Not able to connect #8

bibhusundarparida opened this issue Jan 15, 2016 · 1 comment

Comments

@bibhusundarparida
Copy link

Bleow is the code snippet and the error message received
XmppClient xmpp = new XmppClient("113.19.87.195", 5222, true, null);
xmpp.Username = "nil";
xmpp.Password = "nil";
xmpp.Connect();

ErrorMessage- Unrecoverable stream error: host-unknown

@pgstath
Copy link

pgstath commented Jan 20, 2016

S22.Xmpp and Sharp.Xmpp primarly support host names. There is a pending pull request for Sharp.Xmpp that supports connection with IP Addresses. However, IMO, a much better solution is to hardcode a DNS entry at /etc/hosts or the Windows equivelant, assigning a host name to your XMPP server address

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants