Access to app.onrender.com was denied

Failed to access my public url after deployed the apps

I have deployed my spring boot application success
i have expose server port inside [Environment] as SERVER_PORT but getting the below error , when i try access it

# Access to poulty-backend.onrender.com was denied
You don't have the user rights to view this page

.

Hi,

“You don’t have the user rights to view this page” doesn’t sound like a Render error. I see a 403 Forbidden when visiting https://poulty-backend.onrender.com, this is likely a code/configuration/authorization issue.

Is your project configured correctly to respond to a root path (/)? Does it need credentials or other params? The “backend” in the service name implies it may be an API server, sometimes they don’t have a root path, but only respond to URLs like /api/user, etc.

You’ll know your project best but maybe start by checking the routing.

Alan

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.