App works on desktop but won't boot in Community Cloud

If you’re creating a debugging post, please include the following info:

  1. https://test-policypal-ai.streamlit.app/
  2. https://github.com/Kevin-McIsaac/policy_pal
  3. The service has encountered an error while checking the health of the Streamlit app: Get “http://localhost:8501/healthz”: dial tcp 127.0.0.1:8501: connect: connection refused
  4. Streamlit version 1.45.1 and Python 3.12.

The problem was config entry in config.toml of

[server]
port = 8502

remove this, all fine.