Home > Blockchain >  ASP.NET Core Web application 403 error after deploy
ASP.NET Core Web application 403 error after deploy

Time:08-22

I create an ASP.NET Core Web application(.NET Core 3.1) sample project, and I can run it in localhost.

I install dotnet sdk(dotnet --version 3.1.422) and runtime on DigitalOcean Droplet VPS(Ubuntu 20.04, enter image description here

CodePudding user response:

The 403 (Forbidden) status code indicates that the server understood the request but refuses to authorize it...If authentication credentials were provided in the request, the server considers them insufficient to grant access.

CodePudding user response:

Looking at the steps you've taken, you are missing the dotnet run command to actually fire up the application on your server.

You need to ssh onto your box, cd into your applications folder and issue the dotnet run command.

  • Related