Home : Limiting the Range of Ports for Java-COM Communication
Q30123 - INFO: Limiting the Range of Ports for Java-COM Communication

Limiting the Range of Ports for Java-COM Communication

 

The following example scenario (Java client accessing a COM component on remote machine) will demonstrate how to do this.

You'll need to experiment with the JINTEGRA_LOCAL_PORT_START and JINTEGRA_LOCAL_PORT_END properties on the Java side to limit the range of ports the client uses.

On the server side, you'll need to limit the port range for the COM component. To do this:

  1. Launch DCOMCNFG
  2. Click on the Default Protocols tab
  3. Click on Connection-Oriented TCP/IP
  4. Add the required port range (note that this setting will be used for all components - we are unsure if there is a way to specify for a single component).

This should now limit both servers to the specific port range.

Related Articles
No Related Articles Available.

Article Attachments
No Attachments Available.

Related External Links
No Related Links Available.
Help us improve this article...
What did you think of this article?

poor 
1
2
3
4
5
6
7
8
9
10

 excellent
Tell us why you rated the content this way. (optional)
 
Approved Comments...
No user comments available for this article.
Created on 6/23/2006.
Last Modified on 12/18/2007.
Last Modified by J-Integra KB Admin.
Article has been viewed 9598 times.
Rated 5 out of 10 based on 8 votes.
Print Article
Email Article