You don’t have permission to upload or create files here - over VPN

Hi,
This is my first install of NC and I am facing a problem.
I have a machine running windows 10 with NC container on docker setting at work place, so when I RDP to this machine from home and open webpage using the local browser, everything is working fine without any issues. However, when I try to access http://localhost:8080/ from my home laptop which is connected to work via VPN client, the main page is opened with loading spinner and after sometime it does not show the add button and when i try to drag and drop i got an error “You don’t have permission to upload or create files here”
This is a fresh installation and I have not uploaded any file yet, and I’m using the same username for both login. I have tried to add my home laptop hostname to trusted_domains checked data folder permission but without anyluck

NEXTCLOUD_VERSION 18.0.4
PHP_VERSION 7.3.18

CONFIG.PHP

‘trusted_domains’ =>
array (
0 => ‘localhost:8080’,
1 => ‘ATR-ART-TTS-003’,
),
‘datadirectory’ => ‘/var/www/html/data’,
‘dbtype’ => ‘sqlite3’,
‘version’ => ‘18.0.4.2’,
‘overwrite.cli.url’ => ‘http://localhost:8080’,
‘installed’ => true,

DATA PERMISSION

770 drwxrwx— 5 www-data root 4096 May 20 22:51 data

I am out of clues so any help is appreciated.
from home machine

From work machine

EDIT:
I manage to resolve the issue, VPN client was blocking traffic on port 8080 so I created another container with different port

docker run -d -p 81:80 nextcloud