I am currently writing a simple chat program for my computer networks class and am using ports not normally open (11000, for instance). I want to add the permission to let the program through those ports without necessarily opening them to the world. I have tried adding the program with the ports to the firewall through the Windows Firewall setting, but that did not help (I did make sure I selected the correct exe, added the correct connection type (TCP) and the correct ports I was using). I have seen a few answers for adding the program to the firewall through C# code here and then looked into customizing the click once installer to be able to add and remove the rules while it installed and uninstalled the program, but that seems kind of unnecessary. Is there anyway to easily do this, or did I make some mistake that I just don't know about?
Sys Info: Windows 7 64-bit
TL:DR - Need to get the chat client server I am writing to go through Windows Firewall across ports 11000 - 11xxx (just need a few (less than like 50 for multiple chats), just not sure how many yet).
Edit 1: I did try turning the firewall completely off and I am still getting this issue...