Unable to access OCIS server with desktop app in home network

Steps to reproduce

  1. Try to access OCIS server via desktop app at home
  2. Try to access OCIS server via desktop app through VPN while away from home
  3. Access OCIS server through browser

Expected behaviour

Tell us what should happen
Reconnect to server and ask to re-authenticate in browser

Actual behaviour

Tell us what happens instead

Browser will connect wherever I am, If the laptop is connecting via VPN the desktop app with ask to reauthenticate and load a browser window for that purpose, after that it works normally.

When at home inside my network the desktop app throws a error say no compatible server is available at that address.

Server configuration

Operating system:
Ubuntu LTS 24.04
OCIS 5.0.7
Web server:

nginx in proxy mode

OCIS was set up from the bare metal with systems guide

Its weird that it exhibits this behaviour