.Net Core Linux运行报错Unable to start Kestrel. System.IO.IOException: Failed to bind to address http://127.0.0.1:5000: address already in use

在appsettings.json配置了Urls还是会报此错误

"Urls": "http://*:8002"

如果在项目目录下执行二进制文件则不会报错

发表评论

邮箱地址不会被公开。