[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
> 4530.
> 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
> a
> 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:
> http://mono.1490590.n4.nabble.com/Sockets-don-t-work-tp4658585.html
> Sent from the Mono - General mailing list archive at Nabble.com.
> _______________________________________________
> Mono-list maillist - Mono-list at lists.ximian.com
> http://lists.ximian.com/mailman/listinfo/mono-list
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.ximian.com/pipermail/mono-list/attachments/20130214/bd0565f6/attachment.html>
More information about the Mono-list
mailing list