[Mono-dev] Can't create a local tcp connection on mono

Robert Jordan robertj at gmx.net
Sat Mar 2 15:52:46 UTC 2013


On 02.03.2013 15:56, Ole Bromose wrote:
> Hello,
>
> The code below works on Windows. However, when running on mono 2.10.5 on
> Gentoo Linux, the listener throws the exception:
>   System.Net.Sockets.SocketException: The requested address is not valid
> in this context
>
> Listening on the address IPAddress.Any instead of the loopback address
> makes the listener run without exception. However, when the client is
> started, no connection is created (the server eventually times out).
>
> Can anybody explain why I can't create a local connection on mono?


Please show us the output of /sbin/ifconfig and the contents of
/etc/hosts.

Robert





More information about the Mono-devel-list mailing list