Trying to open a port for a web app. I literally tried every combination I think what's possible but no success.
changing the source ports to Any made it work however I don't understand why? Can someone explain it what's the difference?
The source port of an application is in the most cases a random high port number.
Very few protocols require fixed source ports. Even less have same source and destination port.
Some more details are explained and linked in this thread:
https://networkengineering.stackexchange.com/questions/40850/why-does-source-port-and-destination-port-differ-in-my-network-communications