AppDaemon4 with HA Cloud cannot connect

Running HA with Home Assistant Cloud but I cannot connect ot AppDaemon (connection timed out)
My AppDeamon.yaml (modified for privacy)
Am I missing something?

---
#secrets: /config/secrets.yaml
appdaemon:
  latitude: 4x.xxx
  longitude: 8x.x
  elevation: 213
  time_zone: America/Chicago
  unit_system: imperial
  temperature_unit: f
  plugins:
    HASS:
      type: hass
      ha_url: https://h9xxx.ui.nabu.casa/
      #token: exxxY
      #ha_url: http://192.168.1.45:8123
      #ha_key: 1234
http:
  #url: http://192.168.1.45:5050
  url: https://h9xxx.ui.nabu.casa:5050
admin: 
api:
hadashboard:
http:
  #url: http://192.168.1.45:5050
  url: https://h9xxx.ui.nabu.casa:5050

That part can’t be right I think. That the AD management webpage (created by AD not HA)

Why do you not connect Home Assistant and AppDaemom locally, why do you go through the Nabu Casa cloud?

You also need to have a token, you can’t uncomment this line.

It works fine locally. I have uncommented the token line
I was trying to use the cloud to make remote management a bit easier