Report this

What is the reason for this report?

Can't connect to owncloud as soon as I change apaches hosting port

Posted on August 24, 2013

Hi, i set up my own owncloud server. Only to find out my ISP is blocking port 80. As soon as I change Apache2’s port to 8080 and restarted apache2. “localhost:8080/owncloud” says that the requested URL /owncloud/ was not found… how to fix this ?



This textbox defaults to using Markdown to format your answer.

You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

How did you change the port? Which files did you edit?

“nano /etc/apache2/ports.conf” changed it to 8080. seems like my router was using port 80, switched the router to port 8080. and made apache2 use port 80 again. So now i can acces my owncloud from the internet. would still be interested in know how to fix this if the ISP ever really blocks port 80. <br>

If you edit /etc/apache2/ports.conf to port 8080 you have to edit your virtualhost to listen on *:8080 instead of *:80

The developer cloud

Scale up as you grow — whether you're running one virtual machine or ten thousand.

Get started for free

Sign up and get $200 in credit for your first 60 days with DigitalOcean.*

*This promotional offer applies to new accounts only.