Why manager fails with port forwarding?

Openremote works fine on my lan. I tried to do port forwarding on my router to access the server externally.
But it’s not working. I don’t have much knowledge about HAProxy, I suspect it is related. Could someone explain it to me?
Thanks

Do you have static IP?

you need to forward 3 port 80 ,443 , 8883 on your router

Hello Apurba, i don’t have static ip. I’m using a ddns called duckdns.
I tested the port forwardins with others applications listening on this ports, but the error is only with openremote.
80, 443, and 8883 were forwarded.

My docker-compose.yml file is presented below:

# OpenRemote v3
#
# Profile that runs the stack by default on https://localhost using a self-signed SSL certificate,
# but optionally on https://$OR_HOSTNAME with an auto generated SSL certificate from Letsencrypt.
#
# It is configured to use the AWS logging driver.
#
version: '2.4'

volumes:
  proxy-data:
  manager-data:
  postgresql-data:

services:

  proxy:
    image: openremote/proxy:${PROXY_VERSION:-latest}
    restart: always
    depends_on:
      manager:
        condition: service_healthy
    ports:
      - "80:80" # Needed for SSL generation using letsencrypt
      - "${OR_SSL_PORT:-443}:443"
      - "8883:8883"
      - "127.0.0.1:8404:8404" # Localhost metrics access
    volumes:
      - proxy-data:/deployment
    environment:
      LE_EMAIL: ${OR_EMAIL_ADMIN:-}
      DOMAINNAME: 192.168.0.129
      DOMAINNAMES: ${OR_ADDITIONAL_HOSTNAMES:-}
      # USE A CUSTOM PROXY CONFIG - COPY FROM https://raw.githubusercontent.com/openremote/proxy/main/haproxy.cfg
      #HAPROXY_CONFIG: '/data/proxy/haproxy.cfg'

  postgresql:
    restart: always
    image: openremote/postgresql:${POSTGRESQL_VERSION:-latest}
    shm_size: 128mb
    ports:
      - "5432:5432"
    volumes:
      - postgresql-data:/var/lib/postgresql/data
      - manager-data:/storage

  keycloak:
    restart: always
    image: openremote/keycloak:${KEYCLOAK_VERSION:-latest}
    depends_on:
      postgresql:
        condition: service_healthy
    volumes:
      - ./deployment:/deployment
    environment:
      KEYCLOAK_ADMIN_PASSWORD: ${OR_ADMIN_PASSWORD:-secret}
      KC_HOSTNAME: 192.168.0.129
      KC_HOSTNAME_PORT: ${OR_SSL_PORT:--1}


  manager:
#    privileged: true
    restart: always
    image: openremote/manager:${MANAGER_VERSION:-latest}
    depends_on:
      keycloak:
        condition: service_healthy
    ports:
      - "127.0.0.1:8405:8405" # Localhost metrics access
    environment:
      OR_SETUP_TYPE:
      OR_ADMIN_PASSWORD: 
      OR_SETUP_RUN_ON_RESTART:
      OR_EMAIL_HOST: smtp.mailersend.net
      OR_EMAIL_USER: XXXXXXXXXXXXXXXXXXXX
      OR_EMAIL_PASSWORD: XXXXXXXXXXXXXXXX
      OR_EMAIL_X_HEADERS:
      OR_EMAIL_FROM: XXXXXXXXXXXXXXXX
      OR_EMAIL_ADMIN: XXXXXXXXXXXXXXXX
      OR_METRICS_ENABLED: ${OR_METRICS_ENABLED:-true}
      OR_HOSTNAME: 192.168.0.129
      OR_ADDITIONAL_HOSTNAMES: ${OR_ADDITIONAL_HOSTNAMES:-}
      OR_SSL_PORT: 443
      OR_DEV_MODE: ${OR_DEV_MODE:-false}
      OR_ROOT_REDIRECT_PATH: /manager/?realm=user

      # The following variables will configure the demo
      OR_FORECAST_SOLAR_API_KEY:
      OR_OPEN_WEATHER_API_APP_ID:
      OR_SETUP_IMPORT_DEMO_AGENT_KNX:
      OR_SETUP_IMPORT_DEMO_AGENT_VELBUS:
    volumes:
#      - manager-data:/storage
      - ./deployment:/deployment

HI,
post the error here .