[Mono-aspnet-list] Unable to bind port 80 without sudo

Alexander M. Batishchev abatishchev at godfather.net.ru
Sat Jun 12 05:40:06 EDT 2010

$ xsp --port 80


Listening on address:

Root directory: /home/godfather/Projects/Test

Error: System.Net.Sockets.SocketException: Access denied

  at System.Net.Sockets.Socket.Bind (System.Net.EndPoint local_end)
[0x00000] in <filename unknown>:0

  at Mono.WebServer.XSPWebSource.CreateSocket () [0x00000] in <filename

  at Mono.WebServer.ApplicationServer.Start (Boolean bgThread) [0x00000] in
<filename unknown>:0

  at Mono.WebServer.ApplicationServer.Start (Boolean bgThread,
System.Exception initialException) [0x00000] in <filename unknown>:0

  at (wrapper remoting-invoke-with-check)
Mono.WebServer.ApplicationServer:Start (bool,System.Exception)

  at Mono.WebServer.XSP.Server.RealMain (System.String[] args, Boolean root,
IApplicationHost ext_apphost, Boolean quiet) [0x00000] in <filename


But when


$ sudo xsp --port 80


Listening on address:

Root directory: /home/godfather/Projects/Test

Listening on port: 80 (non-secure)

Hit Return to stop the server.


Everything works fine. Why can it be?

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.ximian.com/pipermail/mono-aspnet-list/attachments/20100612/8333ff6f/attachment.html 

More information about the Mono-aspnet-list mailing list