[Mono-list] Sockets don't work
Daniel Lo Nigro
lists at dan.cx
Thu Feb 14 06:39:52 UTC 2013
On Linux, you can't listen on any port with a number less than 1024 unless
you run your app as root. So you'll probably have to either run your app as
root, or make it listen on a port number higher than 1024 and then redirect
requests to port 943 using iptables.
There may be another way but I'm unaware of it.
On Thu, Feb 14, 2013 at 5:10 PM, acrym <soreric94 at gmail.com> wrote:
> I have a socket application that needs to connect on port 943 and port
> It works locally but not on mono. The server is implemented with WCF. The
> error message is "Access Denied: An attempt was made to access a socket in
> way forbidden by its access permissions."
> Does mono block my connections? Or is this another problem? If it does, how
> can I configure it to allow connections?
> View this message in context:
> Sent from the Mono - General mailing list archive at Nabble.com.
> Mono-list maillist - Mono-list at lists.ximian.com
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Mono-list