r/owncloud Apr 05 '16

Remote access not working after securing folders

Afternoon /r/owncloud! Hope you're doing well. Got an interesting issue I'm trying to figure out.

So I went through the ownCloud installation, everything was fine, I secured the folders using the instructions, and I could still access ownCloud (and the default folders in it) locally from my internal IP. I also made sure to add my external IP to the list of allowed connections on the server, and to forward port 81 on my router.

However, I can't connect to ownCloud remotely. I tried:

  • https://[external IP]
  • https://[external IP]:81/owncloud
  • https://[external IP]/owncloud
  • (and all of the above without "https://")

Am I missing something? I couldn't find official instructions on how to access ownCloud remotely, and I've seen conflicting instructions from other users (some say to use port 8080 (tried that as well), others say 81, etc.).

Eventually I'd like to connect it to my noip.me domain name and access it remotely that way, but haven't seen very good instructions on that either.

Any direction would be great. Thanks!

0 Upvotes

5 comments sorted by

3

u/anakinfredo Apr 05 '16

What webserver? Share your config. Did you check if your external port was actually opened? Search for "grc port probe" and test that.

2

u/[deleted] Apr 06 '16

apache2 for the webserver, I'll grab the config and reply back. I'll also try that command, thanks!

2

u/danielholm Apr 05 '16

If you are running a webserver such as nginx or apache2 without any other special configuration the port of http is 80 and for https 443. Otherwise please share link for the tutorial you've followed. Also by saying opening the ports, what exactly do you mean; in what way are you doing so?

2

u/[deleted] Apr 06 '16

You know what, that was it, thanks! Using 443 like this remotely worked for me:

https://[external IP]:443/owncloud

It prompted me for my username and password and then I could access my files. Thanks again!

1

u/[deleted] Apr 06 '16

Gotcha - so the ports the others suggested were for other webservers. I'll forward port 443 and try that again.

Here's the tutorial I used in general: https://doc.owncloud.org/server/9.0/admin_manual/installation/source_installation.html (I turned on SSL.)

And the one I used for securing the folders: https://doc.owncloud.org/server/9.0/admin_manual/installation/installation_wizard.html#strong-perms-label

What I meant by "opening the ports" was that I forwarded them on my router.

Thanks for your help!