Hi folks, I’m having a bit of trouble connecting to ownCloud via anything that’s not localhost or 127.0.0.1. I’ve adjusted the config.php file to add the server’s IP address as trusted domain and am still getting the same result. If anyone can at the least point me in the right direciton, would be very much appreciated. Currently running ownCloud in a Docker Container with the latest update of ownCloud and Docker, respectively.
Could this possibly be something with ownCloud not liking that I connect with a port number also? I’ve tried adding the port number to the config.php as 192.168.1.46:8087, with the same result.
'trusted_domains' =>
array (
0 => '192.168.1.46',
),
Also the entire config.php file if that helps…
<?php
$CONFIG = array (
'apps_paths' =>
array (
0 =>
array (
'path' => '/var/www/owncloud/apps',
'url' => '/apps',
'writable' => false,
),
1 =>
array (
'path' => '/var/www/owncloud/custom',
'url' => '/custom',
'writable' => true,
),
),
'trusted_domains' =>
array (
0 => '192.168.1.46',
),
'datadirectory' => '/mnt/data/files',
'dbtype' => 'sqlite',
'dbhost' => '',
'dbname' => 'owncloud',
'dbuser' => '',
'dbpassword' => '',
'dbtableprefix' => 'oc_',
'log_type' => 'owncloud',
'supportedDatabases' =>
array (
0 => 'sqlite',
1 => 'mysql',
2 => 'pgsql',
),
'upgrade.disable-web' => true,
'default_language' => 'en',
'overwrite.cli.url' => 'http://localhost/',
'htaccess.RewriteBase' => '/',
'logfile' => '/mnt/data/files/owncloud.log',
'memcache.local' => '\\OC\\Memcache\\APCu',
'filelocking.enabled' => true,
'passwordsalt' => '/sfILArdTcyWjXwyKcCGhR3Xoh64ZB',
'secret' => 'yv8hroqrwrGn8M1+INenLqtIt0mpcJpwTNwQ9QyMX9u8OtIC',
'version' => '10.14.0.3',
'allow_user_to_change_mail_address' => '',
'logtimezone' => 'UTC',
'installed' => true,
'instanceid' => 'oc2pkzthlgxw',
);
Expected behaviour
Logically I should be able to connect to ownCloud via 192.168.x.x:xx
Actual behaviour
Any connection attempt NOT done via localhost or 127.0.0.1 is blocked as an untrusted domain