I tried to use the dotnet-install scripts and even after manually adding to path it didnt work. So I did it manually:
Update the OS
sudo apt-get update
Check for dotnet and install it
dotnet --info ~ fails: 'dotnet1' is not recognized as an internal or external command, operable program or batch file.
At the time these were latest but always check dotnet.microsoft.com/download for the latest versions.
The tar command is also used to extract tar archives:
export above only adds it for that session, you can perminantly add it as follows
echo $PATH ~ wont have `dev/dotnet`
I like to edit and run the code on the Pi, VS code can be used with the C# extensions.
sudo apt update
Its amazing the things people share online, helps noobs like me!
LEDS & Resistors
You can confirm if the port is listing on your Pi with
netstat -nltp, it needs to have a
Local Address of
:::5001 this means its listing to the outside world.
All ports on the Pi should be open but if this still doesnt work you can try Uncomplicated Firewall (UFW) which is a front-end to iptables.
apt-get install ufw