如何在 asp.net core 网站启动时指定监听端口和地址

使用参数:urls
dotnet *.exe --urls "http://*:5001;"
或
dotnet *.dll --urls "http://*:5001;"

猜你喜欢

转载自www.cnblogs.com/xwgli/p/12202349.html