[Mono-list] mono httplistener

sojan sojankallara at yahoo.com
Wed Feb 25 05:49:26 EST 2009


but i  am using the port 8000 no chance for another service running at port
8000



sojan wrote:
> 
> i had a program written in c# for windows,
> its working in windows
> But when i tried to run it mono the following exception is getting from
> the 
> System.Net.HttpListener.start()
> 
> 
> System.Net.Sockets.SocketException: Address already in use
>   at System.Net.Sockets.Socket.Bind (System.Net.EndPoint local_end)
> [0x0006c] in
> /usr/src/redhat/BUILD/mono-1.9.1/mcs/class/System/System.Net.Sockets/Socket.cs:1938 
>   at System.Net.EndPointListener..ctor (System.Net.IPAddress addr, Int32
> port, Boolean secure) [0x0003b] in
> /usr/src/redhat/BUILD/mono-1.9.1/mcs/class/System/System.Net/EndPointListener.cs:59 
>   at System.Net.EndPointManager.GetEPListener (System.Net.IPAddress addr,
> Int32 port, System.Net.HttpListener listener, Boolean secure) [0x00050] in
> /usr/src/redhat/BUILD/mono-1.9.1/mcs/class/System/System.Net/EndPointManager.cs:96 
>   at System.Net.EndPointManager.AddPrefixInternal (System.String p,
> System.Net.HttpListener listener) [0x00050] in
> /usr/src/redhat/BUILD/mono-1.9.1/mcs/class/System/System.Net/EndPointManager.cs:78 
>   at System.Net.EndPointManager.AddListener (System.Net.HttpListener
> listener) [0x0002a] in
> /usr/src/redhat/BUILD/mono-1.9.1/mcs/class/System/System.Net/EndPointManager.cs:49
> 
> 
> somebody please help 
> thanks in advance
> Sojan
> 

-- 
View this message in context: http://www.nabble.com/mono-httplistener-tp22198500p22200495.html
Sent from the Mono - General mailing list archive at Nabble.com.



More information about the Mono-list mailing list