.net core webapi 局域网内机器可以互相访问
1、 使用localhost的方式运行程序 dotnet Fitnessequipment.dll --urls=http://localhost:5038
是无法通过ip访问的,只可以使用localhost访问


2、以ip方式运行程序,dotnet Fitnessequipment.dll --urls=http://192.168.3.213:5038 局域网其他机器就可以通过ip访问webapi接口

1、 使用localhost的方式运行程序 dotnet Fitnessequipment.dll --urls=http://localhost:5038
是无法通过ip访问的,只可以使用localhost访问


2、以ip方式运行程序,dotnet Fitnessequipment.dll --urls=http://192.168.3.213:5038 局域网其他机器就可以通过ip访问webapi接口

