K
K
keyabim7862021-01-28 09:19:40
.NET
keyabim786, 2021-01-28 09:19:40

How to run an ASP.NET Core web application on a different port?

Good day!
Created an ASP.NET Core project, I'm running it. It opens on https://localhost:44315/

601256626d9a8314301117.png
6012567b07d0f840192055.png

But I need it to open on port 8443.

601256a10d89c851958940.png
601256aa86ba6149322027.png

However, it does not want to work on port 8443. I wrote ngrok http 8443 in the console
How can I make the project run on port 8443? I'm just starting to understand this technology, I can not find the answer to this question

Answer the question

In order to leave comments, you need to log in

1 answer(s)
V
Vasily Bannikov, 2021-01-28
@vabka

I'm not sure about IIS, but if you run it in kestrel, you can change it here:
uvi3EcG.png
Or in code:5ZPqaWE.png

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question