摘要: 1、 使用localhost的方式运行程序 dotnet Fitnessequipment.dll --urls=http://localhost:5038 是无法通过ip访问的,只可以使用localhost访问 2、以ip方式运行程序,dotnet Fitnessequipment.dll --u 阅读全文
posted @ 2023-07-20 18:34 无声袖箭 阅读(437) 评论(0) 推荐(0) 编辑
摘要: 1、在调试模式下无法通过ip访问webapi ,但是可以使用localhost或者127.0.0.1加端口访问 2、因为在调试模式下运行它,Vs2022默认正在使用IIS-Express。默认情况下,IIS-Express仅绑定到localhost. 3、为了调试状态可以通过ip访问,需要打开位于以 阅读全文
posted @ 2023-07-20 17:50 无声袖箭 阅读(502) 评论(0) 推荐(0) 编辑