Product
Search Results

How do I change the ports used by CDRouter?

CDRouter’s integrated web interface binds to two ports on the underlying Linux system. By default CDRouter uses ports 80 (HTTP) and 443 (HTTPS). If these ports are in use by other services or applications on the system CDRouter will not start up properly and will display an error message. If this occurs there are two solutions:

  1. The system can be examined and any services or applications that are using ports 80 or 443 can be disabled, removed, or re-configured to use alternate ports.

  2. CDRouter can be configured to use an alternate port or set of ports that do not conflict with the system.

To configure alternate ports for CDRouter, please follow this procedure:

  • Edit the file /usr/cdrouter-data/etc/config.yml
  • Modify the field named port to change CDRouter’s port for HTTP
  • Modify the field named https to change CDRouter’s port for HTTPS
  • Save the file and exit
  • Restart CDRouter by running the command systemctl restart cdrouter