To configure static ports
Procedure
- Open the dmaccessserver.vmargs file in a text editor. This file is located in the conf directory in your Access Server installation directory.
- Replace the entry in this file with the following text:
-jar lib/server.jar local_port:<first_port> local_port_count:<number_available_ports> <Access_Server_listener_port>
where:- <first_port> is the first port in the range that you want the Access Server service to use when sending messages or establishing connections.
- <number_available_ports> is the number of ports you
want to reserve for this use.
To calculate the number of Access Server ports to open, use this formula:
number of ports to open = 2 * (number of users + (number of users * number of datastores) + number of datastores)where a datastore refers to an CDC Replication instance. - <Access_Server_listener_port> is the port number that Access Server listens on and is set during the Access Server installation. You do not have to specify a value here if you are using the default port number of 10101.
For example, if the number of available ports for communication is 500 and you want Access Server to listen for connections on port 10101, then the entry would be as follows:
This enables Access Server to listen for connections on port 10101 and restricts it to using ports in the range of 10102 to 10601.-jar lib/server.jar local_port:10102 local_port_count:500 10101These changes will take effect after you restart the Access Server service.