.Net core 5指定监听端口

call UseUrls

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

.NET 6 

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

 

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