解决问题
把自定义端口的http://localhost:5001改成http://*:5001。
什么都没有改也不行的小伙伴试试在Program的Main方法中的.UseKestrel()后面添加.UseUrls("http://*:5000")
把自定义端口的http://localhost:5001改成http://*:5001。
什么都没有改也不行的小伙伴试试在Program的Main方法中的.UseKestrel()后面添加.UseUrls("http://*:5000")
相关文章: