Last post Dec 15, 2015 01:38 AM by Angie xu - MSFT
Dec 04, 2015 06:49 PM|Yazilliclick|LINK
I'm trying to get this setup on a vps machine I have and have it running but running into one last problem. I followed the guide @ http://blog.jsinh.in/hosting-asp-net-5-web-application-on-linux/#.VmHB73bnvRY for
this setup with a few personalizations.
The Problem: When I launch kestrel with the 'dnx . kestrel' command it runs but it listens on ALL IP addresses and not just local. So it will be hit by going to either domain.com or domain.com:5004. I'd like it to be limited to domain.com and only listen
on local IP. Is this possible to limit this? My project.json file has the same commands section as the guide which sets the --server argument to
Dec 15, 2015 01:38 AM|Angie xu - MSFT|LINK
After you done with your ASP.NET 5 application, run it with following command:
dnx . kestrel
By default, kestrel will start listening port 5004 on default network interface (127.0.0.1).
So your application will be available here:
More information,you could refer to
[ASP.NET 5] Production Ready Web Server on Linux. Kestrel + nginx