Change default port of UCS for Suitecrm to 8080 or any port not working

I have changed the ports.conf and the 000-default.conf file to 8080 and restarted the apache2 service but it won’t listen on port 8080 or any other port for that matter. What is the method to change this?

That question is not related to SuiteCRM. but

Check here to get an idea: