The PopChart Administration Console uses two ports to communicate with PopChart Server. These ports, by default, are 2003 and 2004. Since PopChart Server runs on ports 2001 and 2002, this means you will need to have ports 2001 through 2004 free in order to run PopChart Server under its default settings.
You can change the ports for PopChart Server via the Settings > Address / Port screen in the Administration Console. However, if you cannot start the Administration Console, you will need to modify these ports externally.
The list below describes each port that the Administration Console uses and how to change it. You can change these ports by editing the PCAgent.cfg file in the config directory of your PopChart installation. You will need to restart PopChart Server after making any changes.
Note: To learn more about the PCAgent.cfg file, refer to "Configuration File Format" in Chapter 3.
This is the port that the PopChart Server "runs" on. Clients will request images from PopChart Server over this port. This port is the only port that you have to open up if you want to clients to be able to view PopChart images from outside of your firewall.
You can change this port by modifying the following line in the PCAgent.cfg file:
You should replace the number 2001 with the number of the port that you want the Administration Console to run on.
If your computer has multiple IP addresses and you need to bind PopChart Server to a specific address, you could also enter it here. For example, if you were binding PopChart Server to port 2001 at the address 10.0.1.1, you would enter the following in the PCAgent.cfg file:
This is the port that the PopChart Embedder (except the JavaScript version) uses to communicate with PopChart Server.
You can change this port by modifying the following line in the PCAgent.cfg file:
You should replace the number 2002 with the number of the port that you want the Administration Console to run on.
If your computer has multiple IP addresses and you need to bind the comm port to a specific address, you could also enter it here. For example, if you were binding the comm port to port 2002 at the address 10.0.1.1, you would enter the following in the PCAgent.cfg file:
This port facilitates communication between PopChart Server and the Administration Console.
You can change this port by modifying two lines in the PCAgent.cfg file. The first line is in the [PCISStartupArgs] section of the file, while these second line is in the [CASStartupArgs] section of the file. Both lines are the same:
You should replace the number 2003 with the number of the port that the agent should use.
This is the port that the Administration Console "runs" on. In other words, you access the Administration Console via this port. This port is the only port that you have to open up if you want to administer your PopChart Server from outside of a firewall.
You can change this port by modifying the following line in the PCAgent.cfg file:
You should replace the number 2004 with the number of the port that you want the Administration Console to run on.
If your computer has multiple IP addresses and you need to bind the Administration Console to a specific address, you could also enter it here. For example, if you were binding the Administration Console to port 2004 at the address 10.0.1.1, you would enter the following in the PCAgent.cfg file: