Forcing a Remoting Server to use interface 127.0.0.1

B

Bry

I have the following code which creates a remoting server component

TcpChannel server = new TcpChannel(37921);
ChannelServices.RegisterChannel(server, true);
RemotingConfiguration.RegisterWellKnownServiceType(typeof(ClientRegistration),
"ClientRegistration",
WellKnownObjectMode.SingleCall);

This opens up TCP port 37921 on interface 0.0.0.0, but as the client
will always be on the same computer, I would prefer to use interface
127.0.0.1 (for security reaons).

Can anyone suggest how I can achieve this?

Thanks,
Bry.
 
C

chanmm

I don't think you can use your loop back IP to achieve remoting. Let me know
if there is any suggestion.

chanmm
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top