Changing the agent port

If you install the agent on a server where port 5555 is already occupied, you can change the agent port after it is installed.

To change the port:

  1. Modify the port value in your bfagent.conf file.
  2. If you are running a stand-alone server (that is, you started with bfagent -s), you can use the kill command to stop the current bfagent process and restart using the command you used to start the agent the first time.
  3. If you are running via inetd, you also need to modify your port setting in the /etc/services file and restart inetd.

Feedback