Remoting

  • Thread starter Thread starter Ken
  • Start date Start date
K

Ken

I have (inherited) a client program that uses remoting to access memory on
the server. The server program runs on windows 2003 server and the client
runs on WinXP Pro. The programs work in their current environment.

I have been trying to set it up on 2 other computers in the office and have
run into a problem.

I keep getting "connection actively refused" or something very similiar when
I try to "connect" to the server. I have opened up everything I can to allow
access to the "server" and the problem is still there.

I have been unable to find a solution anywhere.

Anyone have any solutions or ideas?

Thanks, DW
 
Ken,
a couple of questions:
1. do you have access to the actual code for these programs?
2. is there a config file on the server in which this service will only
access connections from that particular machine?
3. is there a config file for the clients that, may include port and login
information, that you are not copying over to the other machines?

Steve
 
1. Yes
2. No, I can set the programs up on a lone machine.
3. Yes to the config.

The IP's and ports are hard-coded and I have changed them to work on another
identical system.
I can even change these programs to work with my loopback adapter - on the
same machine, of course.
When I do that, everything works. I have verified my ports and IP's over and
over again. There are no firewalls or internet security programs running.
The information on this type of problem is very scarce.
 
Notice this code:

TcpChannel chnl = new TcpChannel(6021)
ChannelServices.RegisterChannel(chnl)

How I'm telling it what Channel (read port) to register (aka, listen on).
Are the clients using the same?

Can you start the service and then a client on your machine and see what
happens, e.g., can you see the server actively refuse the connection?
 
Back
Top