[Mono-list] Remoting problem on Mandrake 9.0
Urs C Muff
umuff@quark.com
Thu, 13 Mar 2003 16:59:42 -0700
As my first statement in my program I have:
ChannelServices.RegisterChannel(new TcpChannel(8085));
An I get the following exception:
Unhandled Exception: System.Net.Sockets.SocketException: No such host is =
known
in <0x000a0> 00 System.Net.Dns:GetHostByName (string)
in <0x00057> 00 System.Runtime.Remoting.Channels.Tcp.TcpServerChannel:Ini=
t=20
(System.Runtime.Remoting.Channels.IServerChannelSinkProvider)
in <0x00103> 00 System.Runtime.Remoting.Channels.Tcp.TcpServerChannel:.ct=
or=20
(System.Collections.IDictionary,System.Runtime.Remoting.Channels.IServerC=
hannelSinkProvider)
in <0x000da> 00 System.Runtime.Remoting.Channels.Tcp.TcpChannel:Init=20
(System.Collections.IDictionary,System.Runtime.Remoting.Channels.IClientC=
hannelSinkProvider,System.Runtime.Remoting.Channels.IServerChannelSinkPro=
vider)
in <0x00094> 00 System.Runtime.Remoting.Channels.Tcp.TcpChannel:.ctor (in=
t)
in <0x00031> 00 RemotingSamples.Server:Main (string[])
The hostname should be 'localhost' and System.Net.Dns.GetHostByName shoul=
d=20
return 127.0.0.1. Right? How can I provide more input?
- Urs