How do I change the listening port on an NFA Harvester from the default 9995?

Document ID : KB000020989
Last Modified Date : 22/05/2018
Show Technical Document Details
Question:

How do I change the listening port on an NFA Harvester from the default 9995?

Answer:
1. RDP or SSH to your Windows/Linux Harvester Server.

2. Open a command prompt and run:
mysql -P3308 -D harvester -t -e "update parameter_descriptions set defaultvalue=<NewPortNumber> where parameter='NetFlowPacketListenPort';"
For example to change to 9996 run:
mysql -P3308 -D harvester -t -e "update parameter_descriptions set defaultvalue=9996 where parameter='NetFlowPacketListenPort';"

3. Then recycle the CA NFA Harvester service.
  • On Windows you can recycle the "CA NFA Harvester" service in the services console
  • On Linux you can recycle the Harvester service by running "service nfa_harvester restart"
4. The Harvester will now be listening on the new port.
  
 
Additional Information:
 
  • In RA 9.0 and earlier this change was done through the registry by following this doc: TEC520867
  • If you are running NFA 9.1.2 or earlier the syntax was slightly different like below:
    • mysql -P3308 -D harvester -t -e "update parameter_descriptions set defaultvalue=9996 where parameter='harvesterport';