Hi ,
i am programming web based client for my web site user to chat.i am using ejabberd on localhost as a xmpp server
but i get this error
No connection could be made because the target machine actively refused it fe80::2065:86a:3f57:fdb2:5280
at System.Net.Sockets.Socket.EndConnect(IAsyncResult asyncResult)
at bedrock.net.AsyncSocket.ExecuteConnect(IAsyncResult ar)
this is my .net code
pnlCredentials.Enabled = false;
jabberClient1.User = User;
jabberClient1.Server = “Huseyin-PC”;// i used localhost and 127.0.0.1 but don t work again
jabberClient1.Password = Pwd;
jabberClient1.AutoRoster = true;
jabberClient1.Port = 5280;
jabberClient1.AutoReconnect = 1;
jabberClient1.AutoPresence = false;
jabberClient1.KeepAlive = 30;
jabberClient1.PlaintextAuth = true;
jabberClient1.Resource = “Huseyin-PC”;
rm = new RosterManager();
rm.Stream = jabberClient1;
rm.AutoSubscribe = true;
rm.AutoAllow = jabber.client.AutoSubscriptionHanding.AllowAll;
rm.OnRosterBegin += new bedrock.ObjectHandler(rm_OnRosterBegin);
rm.OnRosterEnd += new bedrock.ObjectHandler(rm_OnRosterEnd);
rm.OnRosterItem += new RosterItemHandler(rm_OnRosterItem);
when i set client Connection to HTTP_Binding it gives this error
URL
Parameter name: URL not found in DNS, and not specified
when i set client Connection to soket it gives this error
No connection could be made because the target machine actively refused it fe80::2065:86a:3f57:fdb2:5280
at System.Net.Sockets.Socket.EndConnect(IAsyncResult asyncResult)
at bedrock.net.AsyncSocket.ExecuteConnect(IAsyncResult ar)