Can't access Nextcloud from local LAN

Recommended Posts

Hi guys,


  I need help!  2 days ago, I've finished installing Nextcloud and it was working locally and from outside my network.  but today, I can only access my Nextcloud from outside my LAN?! I can access it via a VPN or my cell but not on the local network?!


any idea?




Ubiquiti Amplifi Alien network

Nextcloud 22.1.0

Unraid 6.9.2



Using duckdsn...

Here's my config


$CONFIG = array (
  'memcache.local' => '\\OC\\Memcache\\APCu',
  'datadirectory' => '/data',
  'instanceid' => 'oc6e5rtnjg36',
  'passwordsalt' => 'XXXXX',
  'secret' => 'XXXXX',
  'trusted_domains' => 
  array (
    0 => '',
    1 => '',
  'dbtype' => 'mysql',
  'version' => '',
  'overwrite.cli.url' => '',
  'overwritehost' => '',
  'overwriteprotocol' => 'https',
  'dbname' => 'nextcloud',
  'dbhost' => '',
  'dbport' => '',
  'dbtableprefix' => 'oc_',
  'mysql.utf8mb4' => true,
  'dbuser' => 'nextcloud',
  'default_phone_region' => 'US',
  'dbpassword' => 'XXXXXX!',
  'installed' => true,

Link to comment

So, I figured this out.

I have fios and a g3100. There is hairpin NAT enabled on every port, except 443. My router used port 443 for their own things and monitoring and would not let it work. I changed the port they use to another one (while remembering and savinging it because it was now the new access point for my router). Now 443 works perfectly. 

You can also change the port that nextcloud uses to something else too. 


Link to comment

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.