修改dotnet运行.netcore web程序默认端口
时间:2020-02-17 12:38:58
收藏:0
阅读:417
使用命令运行.netcore web程序时,默认端口为5000,如果需要修改端口,直接在Program入口处新增如下代码即可:
webBuilder.UseUrls("http://*:8080");
原文:https://www.cnblogs.com/wanggang2016/p/12320808.html
评论(0)