dotnet run urls=http://*:8080

 使用这个命令,需要把cmd指定在程序入口项目目录下,然后再执行即可。

原文地址:https://www.cnblogs.com/lishidefengchen/p/13294508.html