Solved

.NET Remoting over random client ports

Posted on 2011-02-10
2
399 Views
Last Modified: 2012-06-21
I have an application that was written using remoting.  There is a remoting service that gets installed on the server (which has all the business code to access the database, etc) and a client GUI which is compiled with "stubs" to the business code.  When the client is run, the remoting piece connects it to the proper business code in the remoting service.  This all works great, however, it was designed using set ports.  Both client GUI and remoting service are configured to use port 8089 (why that port was chosen, I don't know).  Anyway, I have read a bit on the internet that leads me to beleive that the port on the client side can be random, but I'm not sure, given our application, how to make that happen.  The problem is that you can only run ONE client on ONE machine at a time because it uses a set port.  We want to be able to run multiple clients on the same machine.

I am hoping that to accomplish the client random port, I can simply make a config change and walla!  I have attached the config file for the client and the config file for the remoting service.  Can you tell me whether this can be accomplished with a simple config change and if so, what I would change in my config files to make that happen?
Thanks!
RemotingDefinition.config
PMRCM.RemotingServer.config
0
Comment
Question by:ablesa
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
2 Comments
 

Accepted Solution

by:
ablesa earned 0 total points
ID: 35233318
I resolved this myself by setting the port to 0 in the client configuration file:
<channel ref="tcp" port="0">
0
 

Author Closing Comment

by:ablesa
ID: 35233321
No one else answered and I found the answer on my own.
0

Featured Post

Online Training Solution

Drastically shorten your training time with WalkMe's advanced online training solution that Guides your trainees to action. Forget about retraining and skyrocket knowledge retention rates.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

If you're writing a .NET application to connect to an Access .mdb database and use pre-existing queries that require parameters, you've come to the right place! Let's say the pre-existing query(qryCust) in Access takes a Date as a parameter and l…
It was really hard time for me to get the understanding of Delegates in C#. I went through many websites and articles but I found them very clumsy. After going through those sites, I noted down the points in a easy way so here I am sharing that unde…
Come and listen to Percona CEO Peter Zaitsev discuss what’s new in Percona open source software, including Percona Server for MySQL (https://www.percona.com/software/mysql-database/percona-server) and MongoDB (https://www.percona.com/software/mongo-…
Monitoring a network: why having a policy is the best policy? Michael Kulchisky, MCSE, MCSA, MCP, VTSP, VSP, CCSP outlines the enormous benefits of having a policy-based approach when monitoring medium and large networks. Software utilized in this v…

691 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question