By default, Apache listens in port number 80. Set the default port number for OpenXPKI CA to avoid conflicts.
![](https://publications.lexmark.com/media/ids_assets/images/transparent.png)
In /etc/apache2/ports.conf, add or modify a port. For example, Listen 8080.
![](https://publications.lexmark.com/media/ids_assets/images/transparent.png)
In /etc/apache2/sites-enabled/000-default.conf, add or modify the VirtualHost section to map new port. For example, <VirtualHost *:8080>.
![](https://publications.lexmark.com/media/ids_assets/images/transparent.png)
Restart the Apache server using systemctl restart apache2.
To check the status, run netstat -tlpn| grep apache. The OpenXPKI SCEP URL is now http://ipaddress:8080/scep/ca-one, and the web URL is http://ip address:8080/openxpki.