I have created basic ASP.Net Core server on Azure Ubuntu VM. I have exposed the server to a port 80 using nginx. I am conecting to the VM via ssh. And starting the server with "dotnet run" command. That works fine.
However, every time I close the ssh connection, the server is stopping as well. Is there a way to start and keep running the asp.net core server on Linux without having an active ssh connection?
Basically what happens is:
dotnet run
) You need to start a service outside of your user. Here is some information:
Otherwise i'd advice you to ask on https://askubuntu.com/
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.