Opened 4 years ago

Last modified 4 years ago

#9992 new task

facilitator-reg-daemon needs an option to control the address of the facilitator it talks to

Reported by: dcf Owned by: dcf
Priority: Low Milestone:
Component: Archived/Flashproxy Version:
Severity: Keywords:
Cc: Actual Points:
Parent ID: Points:
Reviewer: Sponsor:

Description

The address is hardcoded and there is to way to change it from the command line.

FACILITATOR_ADDR = ("127.0.0.1", 9002)

Child Tickets

Change History (1)

comment:1 Changed 4 years ago by dcf

Here's a complete list of what I had to do in order to run a second facilitator instance on the same host where one instance was already running. I only set up facilitator, facilitator.cgi, and facilitator-reg-daemon, not the email poller. I ran facilitator on port 10002 and facilitator-reg-daemon on 10003.

  • Change the port number in FACILITATOR_ADDR to 10002 in facilitator-reg-daemon (this is what is noted in the ticket description).
  • Change the port number in FACILITATOR_ADDR to 10002 in facilitator.cgi.
  • Change the path to facilitator-reg in the Popen call in fac.py, and add the extra arguments -p 10003.

Setting the port numbers of facilitator and facilitator-reg-daemon, I was able to do through those programs' -p options.

Note: See TracTickets for help on using tickets.