port

Syntax -port [ip:]portnumber

Description This setting specifies the port that PopChart Server will use to serve PopChart images.

Unless this port number is 80, all HTTP requests to PopChart Server will need to specify this port. For example, assuming the port is set to 2001 (default setting), and that you are running PopChart Server on your localhost, you would need to request images from http://localhost:2001.

The -port setting should be followed by a number that indicates the port on which PopChart Server will run. The setting is always required. If it is not specified, PopChart Server will not run correctly.

This command will also accept an IP address, which allows you to bind the server port to a specific address if your system has more than one IP address. If this is the case, simply enter the address, followed by a colon, followed by the port number. For example, if you were binding PopChart Server to port 2002 at the address 10.0.1.1, you would enter the following in the PCAgent.cfg file:

-port 10.0.1.1:2002

By default, PopChart Server is bound to localhost.