Groups | Blog | Home
all groups > dotnet remoting > september 2005 >

dotnet remoting : Error: "no connection could be made because the target machine actively refused it"



Cos
9/28/2005 5:29:34 PM
Hello there,

I've been playing with a very simple remotng example (code from an article
at http://www.codeproject.com/csharp/absoluteremoting.asp ).

Well, it builds OK, but when I run the simple client project I get:

"no connection could be made because the target machine actively refused it"

I'm using XP Pro, I disabled the firewall but no luck. I tried other
precanned examples and they run into the same error. I tried another machine
and gets the same (I have a wifi router at home but I checked and there's no
port filtering).

I changed the channel to http but I get the corresponding Web error instead
of the socket one.

I tried to catch the exception and perform some retry in case the server
didn't have time to load...

I might be an ignorant, but these are copied examples. What am I doing
wrong?

I appreciate your kind help

Cos

Cos
10/3/2005 3:16:17 PM
I got it, my bad.

I compile everything in the same solution: I have to start the server exec
before launching the client app.

UserID 10T error


[quoted text, click to view]

AddThis Social Bookmark Button