In the Search icon (bottom left), type in Windows Defender Firewall with Advanced Security
Once you've opened this application, you will be greeted with your Firewall rules. Please click Inbound Rules
In the Actions tab, please click on New Rule...
You will be prompted to create a specific rule, in this case we'll select Port
The window will now prompt you to enter in your desired ports (separated by commas)*.
The window will ask you a few questions about allowing connection, in this example we'll Allow the connection.
Please select all domain profiles regarding the connection for the port (Domain, Private, and Public)
Provide a name for the Inbound rule:
Can be anything to help you remember what the rule name is.
Hit Finish and you're all done!