1 |
Hi, |
2 |
|
3 |
On Mon, Apr 28, 2008 at 3:15 PM, Mike Mazur <mmazur@×××××.com> wrote: |
4 |
> Hi, |
5 |
> |
6 |
> Having trouble with TcpChannel throwing an exception: |
7 |
> |
8 |
> [...] |
9 |
> |
10 |
> Unhandled Exception: System.Net.Sockets.SocketException: No such host is known |
11 |
> at System.Net.Dns.GetHostByName (System.String hostName) [0x00000] |
12 |
> at System.Net.Dns.Resolve (System.String hostName) [0x00000] |
13 |
> at System.Runtime.Remoting.Channels.Tcp.TcpServerChannel.Init |
14 |
> (IServerChannelSinkProvider serverSinkProvider) [0x00000] |
15 |
> at System.Runtime.Remoting.Channels.Tcp.TcpServerChannel..ctor |
16 |
> (IDictionary properties, IServerChannelSinkProvider |
17 |
> serverSinkProvider) [0x00000] |
18 |
> at System.Runtime.Remoting.Channels.Tcp.TcpChannel.Init (IDictionary |
19 |
> properties, IClientChannelSinkProvider clientSink, |
20 |
> IServerChannelSinkProvider serverSink) [0x00000] |
21 |
> at System.Runtime.Remoting.Channels.Tcp.TcpChannel..ctor (Int32 |
22 |
> port) [0x00000] |
23 |
> at MainClass.Main () [0x00000] |
24 |
|
25 |
The fix was to put my machine's hostname in /etc/hosts. |
26 |
|
27 |
Mike |
28 |
-- |
29 |
gentoo-user@l.g.o mailing list |