假设指定21021端口
方法一
使用命令
dotnet {某名称}.Web.Host.dll.dll --urls http://localhost:21021
方法二
在appsettings.json中添加配置项
"urls":"http://localhost:21021"
然后使用命令dotnet {某名称}.Web.Host.dll.dll
假设指定21021端口
方法一
使用命令
dotnet {某名称}.Web.Host.dll.dll --urls http://localhost:21021
方法二
在appsettings.json中添加配置项
"urls":"http://localhost:21021"
然后使用命令dotnet {某名称}.Web.Host.dll.dll