We are seeing that the Collectors wrapper process is using port 3200 or a port in the range of 3100 to 3199. This port/range conflicts with another application we use. How can I change the port or range of ports the Collector wrapper uses?
By default, the collector (Java Process) uses Ports 31000 - 32000.
The port range available to the wrapper can be changed via the following configuration file located within the Collector installation path.
To update the range of ports, you can add the following lines to the end of this configuration file. The wrapper will first attempt to use the port defined within the wrapper.port parameter, if this port is already in use it will then use a port within the range defined by the min and max values.
wrapper.jvm.port.min=<min_port_number> # default 31000
wrapper.jvm.port.max=<max_port_number> #default 31999
wrapper.port=<some_port_number> #default 32000
After making this update you will need to restart the collector from the sumo install dir to apply the change.
sudo ./collectior restart
You can verify the new values have been applied by running the following command and looking for the above flags set within the Collector process.
ps -ef| grep collector