What app is this about, and its version: Nextcloud 31.0.11~ynh1 What YunoHost version are you running: 12.1.39 (stable) What type of hardware are you using: Old laptop or computer
Describe your issue
Not sure if this is a YNH issue or a wider Nextcloud app issue really but you guys are usually excellent at giving me pointers in the right direction (cheers!) so her goes …
I have a number of webDav drives connected to my Nextcloud server app that use the default ports 445 or 80, these all work fine. I have one webDAV server that uses a wierd port - 6008. That’s not normally an issue for most apps (e.g. phone app file managers or my laptop, as I can specify the port to use at the web address. However, in the Nextcloud app (on my YNH server) in the External Storage section there does not seem to be an option to specify the port for WebDAV to use. It seems to assume the default options only. Am I wrong? Am I missing an option to customise the port? Any advice or confirmation that this is indeed a missing feature on Nextcloud would be welcome. Many thanks in advance.
Share relevant logs or error messages
It just fails to connect to the server. I dont have any useful logs. Sorry.
I am OK and compliant with steps 1 and 2. I then jumped to step 4 and tested the connection. There seems to be a problem, see below. Instead of accessing the IP address of my server it seems to be using the “loopback” 127.0.0.1 address rather than the correct IP address. Why would it do that for this address when it works for others such as webDav on IONOS.
Ahh. Looks like I had some user error! I got the curl command working but I think I see a problem. Even though I tell it to use port 6008 it uses the default 443. See below.
The mystery deepens… It does look like it is using thr loopback IP address for some reason.
curl -v https://mysite.grounded.com:6008
* Trying [::1]:6008…
* connect to ::1 port 6008 failed: Connection refused
* Trying 127.0.0.1:6008…
* connect to 127.0.0.1 port 6008 failed: Connection refused
* Failed to connect to mysite.grounded.com port 6008 after 7 ms: Couldn’t connect to server
* Closing connection 0
curl: (7) Failed to connect to mysite.grounded.com port 6008 after 7 ms: Couldn’t connect to server
The problem seems to relate to the format of the web address. My website is mysite.grounded.com/disk1_part1 rather than just ending in .com . It’s as if the use of the /disk_part1 makes it ignore the :6008 port number and jusr use the default 443 port.without the /disk1_part1 component it uses 6008 . It is stange. Any thoughts?