Z
Z
ZOXEXIVO2015-12-25 16:31:52
ASP.NET
ZOXEXIVO, 2015-12-25 16:31:52

Why is the ASP.NET VNext Kestrel server not binding on port 80?

There is a project on ASP.NET VNext. Prior to rc-final1, it worked on a WebListener which is closed source.
It is currently recommended to use the Kestrel cross-platform server. It works great, but for some reason it uses private port > 1024.
That is, if in the WebListener I could easily make it listen to a specific host! (previously launched as administrator), similar to IIS, Kestrel requires an IP and a port number that starts with 1024, because the rest of the ports are reserved in the Linux environment and for compatibility everything is done at the intersection of possibilities.
The question is, how can I get Kestrel to work on port 80 without port-forwarding and nginx shims?
Why is the webserver running on port 5000? Why do we specify private and public ports in Azure VM and everything works.
How to do the same in a normal WIndows Server environment?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
Z
ZOXEXIVO, 2015-12-25
@ZOXEXIVO

In general, without NAT in any way. You need to add a NAT entry with forwarding to the server properties

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question