.Net core 5指定监听端口

call UseUrls

.UseUrls("http://*:5000");

.NET 6 

app.Run("http://*:5000");

 

posted @ 2021-04-15 10:51  supersdar  阅读(485)  评论(0编辑  收藏  举报