I'm incredibly new .NET apps, so this is probably easily fixed. I'm only venturing into this world because I really want to try Blazor.
I have an Ubuntu server on AWS Lightsail and I'm trying to get set up so I can start actually coding. I installed .NET Core 3.1 (and .NET Runtime 3.1), created a directory in /home called DuckGoose and ran dotnet new blazorserver
. Finally, I ran dotnet publish --configuration Release
.
According to this, that is all I need.
I went to the release folder and ran dotnet DuckGoose.dll
, and the app started. Everything seems normal from this side.
However, when I go to http://lightsail_provided_ip:5000
, the server refuses the connection. I have no idea why.
Thank you in advance for your help - I am in a new world and I am completely lost.
(I have a firewall rule on Lightsail to allow inbound traffic to ports 5000-5001 with TCP)
NOTE: I also had nginx running from before I did all this, but I killed it and the problem is still present.