I just created a new ASP.NET Core API project which runs perfectly when I reach it like localhost:50731
but when I do 83.11.58.141:50731
it's not reacheable.
I directed the router port to bridge the traffic and it works (tested with WireShark).
Some suggestions I saw where changing the applicationhost.config
but that doesn't work for me.
This is what I have:
<bindings>
<binding protocol="http" bindingInformation="*:50731:*" />
</bindings>
I also tried without the last *
, but same results.
The solution for me was allowing the port in the Windows Firewall.
Windows Defender > Advanced configuration > Output rules > New rule