I am trying to deploy the frontend of my webapp. Its Astro with SSR enabled.
How do I get around this error:
==> Port scan timeout reached, no open ports detected. Bind your service to at least one port. If you don’t need to receive traffic on any port, create a background worker instead.
I am at a loss. I tried everything, from not specifying ports to let Render handle it, to having a fallback port, but this error keeps coming up.
Not sure what part you’re referring to, but I have tried setting port: process.env.PORT || 3000, in my astro.config.mjs as stated above (which is pretty much identical to the docs) and it did not work.