S
S
Sergey2021-07-27 14:22:33
linux
Sergey, 2021-07-27 14:22:33

How to run ASP.NET Core without server proxy?

Hello, not long ago I decided to test my applications on asp.net core, on a real cloud server with linux. Using the guide from YouTube and some googling, I figured out how to run the application using docker, but then I had problems with connecting the database, and, in principle, dealing with this microservice architecture.

Therefore, I decided to install the asp.net application "fairly", that is, without any dockers. True, if with docker, I was able to run the application so that it could be connected from outside, then I could only access the application launched directly with: "curl localhost: 5000 "

On the Internet, there are quite a few guides on how to run applications on a linux server, but they use all server proxies. I'm just learning how to develop and didn't want to bother too much with setting up a proxy server, is it possible to just run a web application on a linux server using Kestrel so that it can be accessed from the internet?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
V
Vladimir Korotenko, 2021-07-27
@firedragon

You can, but it's not recommended.
Take the instructions and start everything after 5 minutes.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question