下面是我的代码,开始用8080端口时没有错误,但是改为80端口后就出现“通常每个套接字地址(协议/网络地址/端口)只允许使用一次”错误,请问这个怎么解决啊, 着急!!
                           HttpChannel myChannel = new HttpChannel(80);
ChannelServices.RegisterChannel(myChannel);
RemotingConfiguration.RegisterWellKnownServiceType(typeof(MonthServer.MonthList),"MonthList",WellKnownObjectMode.Singleton);
System.Console.WriteLine("Press [Enter] to Exit...");
System.Console.ReadLine();