[Mono-list] Cannot listen with TcpChannel
Robert Jordan
robertj at gmx.net
Mon Apr 28 04:34:38 EDT 2008
Hi,
Mike Mazur wrote:
> Hi,
>
> Having trouble with TcpChannel throwing an exception:
>
[...]
> Unhandled Exception: System.Net.Sockets.SocketException: No such host is known
> at System.Net.Dns.GetHostByName (System.String hostName) [0x00000]
> at System.Net.Dns.Resolve (System.String hostName) [0x00000]
> at System.Runtime.Remoting.Channels.Tcp.TcpServerChannel.Init
> (IServerChannelSinkProvider serverSinkProvider) [0x00000]
Your machine's host name cannot be resolved correctly, i.e. it's not
in /etc/hosts or does not have a DNS entry.
Robert
More information about the Mono-list
mailing list