Hello! My name is David N. and I am a Microsoft Community Independent Advisor and Windows fan. I will be happy to assist you with your issue.
First, is this your Windows Defender firewall, a third-party firewall, or is this an external device such as a router or dedicated firewall?
If this is the Windows Defender Firewall, I recommend turning it off entirely and testing it. If the ports are still blocked the issue is not with Windows Defender Firewall.
If this is a third-party firewall then you will need to talk to their support on configuration issues. Be certain to turn on only one firewall at a time as firewalls can conflict.
If this is a router or other external firewall, then my best suggestion is to place your server into the DMZ and see if this resolves the issue. If it does not then likely it is not the hardware device.
I hope this helps! Please let me know if you require additional assistance.
Regards,
David N.
Independent Advisor