How to change and bind http / https ports

Has anyone had success changing ports and binding ports for docker apps, specifically Owncloud?
I was successful in changing the apache http port from 80 to another port by changing the following configuration files:


edited “Listen 80” to read “Listen 8090”


edited “<VirtualHost *:80>” to read “<VirtualHost *:8090>”

That allows the UCS start page to load using port 8090 , but owncloud doesn’t open under port 8090.

I had no problem to change the http port to 8080 with the decribed steps. In addition I had to stop/change the packetfilter, but thats obvious. ownCloud could be opened with these changes.
Using port 8090 might cause problems because it interferes with univention-management-console-web-server on