Home All Groups Group Topic Archive Search About
Author
23 Oct 2006 7:59 PM
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

Author
23 Oct 2006 8:26 PM
Steve Long
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

Show quoteHide quote
"Ken" <ks***@s32443t.com> wrote in message
news:%235GvI4t9GHA.4708@TK2MSFTNGP05.phx.gbl...
>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
>
>
Author
23 Oct 2006 8:38 PM
Ken
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.


Show quoteHide quote
"Steve Long" <Steve_Noneya@NoSpam.com> wrote in message
news:O$FwNGu9GHA.2304@TK2MSFTNGP02.phx.gbl...
> 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
>
> "Ken" <ks***@s32443t.com> wrote in message
> news:%235GvI4t9GHA.4708@TK2MSFTNGP05.phx.gbl...
> >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
> >
> >
>
>
Author
23 Oct 2006 9:00 PM
Steve Long
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?


Show quoteHide quote
"Ken" <ks***@s32443t.com> wrote in message
news:eB$M$Nu9GHA.3344@TK2MSFTNGP03.phx.gbl...
> 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.
>
>
> "Steve Long" <Steve_Noneya@NoSpam.com> wrote in message
> news:O$FwNGu9GHA.2304@TK2MSFTNGP02.phx.gbl...
>> 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
>>
>> "Ken" <ks***@s32443t.com> wrote in message
>> news:%235GvI4t9GHA.4708@TK2MSFTNGP05.phx.gbl...
>> >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
>> >
>> >
>>
>>
>
>