I just followed several tutorials online that had me setup the Nextcloud server on a local Desktop I own. I am able to access it from my local network but am having trouble accessing it from outside my home network. I followed some other tutorials and have been able to setup a DNS name for my home server. I can access my default web-server files on port 80 and a few other applications running on different ports by going to my domain followed by the port number. When I try to access Nextcloud at my domain name, passing it the port 8080 it should be using… it never connects. Do you think you could help me take a look at this? It’s odd that my DNS address works for other applications running on different ports but not for port 8080. By the way, I have port forwarding turned on within my router to forward port 8080 on this server.
If you need any more information to help with this issue please let me know. I am just getting into all of this stuff, so odds are it’ll be an easy fix.
Thanks in advance for all of the help!
Nextcloud version (eg, 20.0.5): 24.0.6
Operating system and version (eg, Ubuntu 20.04): Ubuntu 22.04.1 LTS
Apache or nginx version (eg, Apache 2.4.25): 2.4.52
PHP version (eg, 7.4): 8.1
Is this the first time you’ve seen this error? (Y/N): Y
The output of your config.php file in /path/to/nextcloud
:
<?php
$CONFIG = array (
'instanceid' => 'XXXXX',
'passwordsalt' => 'XXXXX',
'secret' => 'XXXXX',
'trusted_domains' =>
array (
0 => '10.0.0.128:8080',
),
'datadirectory' => 'XXXXX',
'dbtype' => 'mysql',
'version' => '24.0.6.1',
'overwrite.cli.url' => 'http://10.0.0.128:8080',
'dbname' => 'XXXXX',
'dbhost' => 'localhost',
'dbport' => '',
'dbtableprefix' => 'oc_',
'mysql.utf8mb4' => true,
'dbuser' => 'XXXXX',
'dbpassword' => 'XXXXX',
'installed' => true,
'default_phone_region' => 'US',
'memcache.local' => '\\OC\\Memcache\\APCu',
);