CDRouter Support

How do I change the ports used by CDRouter?

knowledge-base version 13.3

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



About CDRouter

QA Cafe CDRouter is a comprehensive and powerful test automation solution focused on feature, security, and performance testing for broadband and enterprise edge gateways, Wi-Fi and mesh systems, and other CPE.

Get in touch via our Contact page or by following us on your favorite service: