What is wrong with my code?
i am using windows 7 as OS
and C:\Windows\System32\drivers\etc this is my host file 127.0.0.1 localhost
and i disabled ipv6
and this is my .net code
User = txtUserName.Text;
Pwd = txtPassword.Text;
pnlCredentials.Enabled = false;
jabberClient1.User = User;
jabberClient1.Server = "127.0.0.1";//Huseyin-PC//localhost
jabberClient1.Password = Pwd;
jabberClient1.AutoRoster = true;
jabberClient1.Port = 5280;
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);
and this is my ejabbeder server config
C:\Program Files (x86)\ejabberd-2.1.11\conf /ejabberd.cfg
{loglevel, 3}.
{hosts, ["Huseyin-PC"]}.
{listen,
[
{5280, ejabberd_c2s, [
{certfile, "C:\Program Files (x86)\ejabberd-2.1.11/conf/server.pem"}, starttls,
{access, c2s},
{shaper, c2s_shaper},
{max_stanza_size, 65536}
]},
{5269, ejabberd_s2s_in, [
{shaper, s2s_shaper},
{max_stanza_size, 131072}
]},
{5280, ejabberd_http, [
%%{request_handlers, [
%% {["web"], mod_http_fileserver}
%%]},
captcha,
http_bind,
http_poll,
web_admin
]}
]}.
{auth_method, internal}.
{shaper, fast, {maxrate, 50000}}.
{acl, admin, {user, "admin", "Huseyin-PC"}}.
{acl, local, {user_regexp, ""}}.
{access, max_user_sessions, [{10, all}]}.
{access, local, [{allow, local}]}.
{access, c2s, [{deny, blocked},
{allow, all}]}.
{access, c2s_shaper, [{none, admin},
{normal, all}]}.
{access, s2s_shaper, [{fast, all}]}.
{access, announce, [{allow, admin}]}.
{access, configure, [{allow, admin}]}.
{access, muc_admin, [{allow, admin}]}.
{access, muc, [{allow, all}]}.
{access, muc_create, [{allow, local}]}.
{access