Hi,

On Mon, Apr 28, 2008 at 3:15 PM, Mike Mazur <[EMAIL PROTECTED]> 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]
>   at System.Runtime.Remoting.Channels.Tcp.TcpServerChannel..ctor
>  (IDictionary properties, IServerChannelSinkProvider
>  serverSinkProvider) [0x00000]
>   at System.Runtime.Remoting.Channels.Tcp.TcpChannel.Init (IDictionary
>  properties, IClientChannelSinkProvider clientSink,
>  IServerChannelSinkProvider serverSink) [0x00000]
>   at System.Runtime.Remoting.Channels.Tcp.TcpChannel..ctor (Int32
>  port) [0x00000]
>   at MainClass.Main () [0x00000]

The fix was to put my machine's hostname in /etc/hosts.

Mike
-- 
gentoo-user@lists.gentoo.org mailing list

Reply via email to