I believe the fact that you permit connection through certain ports, it shows you create some unsafe settings. There is no way to show which setting causes this behavior and the only way would be change settings one by one to see which one displays this error.
However, you may open start and search for feedback and open the Feedback Hub app and share suggestion like show which setting causing this.
You may also share the link to this post in your post.