Pourquoi mon .NET Remoting machine cible activement refuser la connexion?

Je suis en train d'établir une base .NET Remoting communication entre 2x 64 bits de windows ordinateurs. Si Machine1 agissant en qualité de client et Machine2 en tant que serveur, tout fonctionne bien. L'autre manière autour de l'exception suivante se produit:

Système.Net.Les Sockets.Exception socketexception: Aucune connexion n'a pu être établie car l'ordinateur cible l'a expressément refusé 172.16.7.44:6666

Le code du serveur:

TcpChannel channel = new TcpChannel(6666);
ChannelServices.RegisterChannel(channel);
RemotingConfiguration.RegisterWellKnownServiceType(
  typeof(MyRemotableObject),"HelloWorld",WellKnownObjectMode.Singleton);

Le code de client:

TcpChannel chan = new TcpChannel();
ChannelServices.RegisterChannel(chan);
//Create an instance of the remote object
remoteObject = (MyRemotableObject)Activator.GetObject(
  typeof(MyRemotableObject), "tcp://172.16.7.44:6666/HelloWorld");

Aucune idée de quoi de mal avec mon code?

Le pare-feu est ÉTEINT définitivement!
Il est préférable lorsque vous modifiez la question elle-même et de le dire.

OriginalL'auteur Daniel Stanca | 2008-11-12