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

  • Posted 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 ?


Submit an 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.

You also have to open the port(s) in the apache firewall, in my case I use open Suse and the file is /etc/sysconfig/SuSEfirewall2. <br>Edit the line: FW_SERVICES_EXT_TCP=“22 80 443” just add the ports between the “”

Are you able to access OwnCloud from other machines, on the same network?

yes it is a local installation.

@Pablo: I believe it’s a local installation.

<b>“… my ISP is blocking port 80”</b> <br> <br>Did you install ownCloud locally or on a remote server?

i did also change the virtualhost to listen to 8080

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

“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>

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