In this article, we learn how to enable port in windows 10.
First, you need to open Windows Defender Firewall with Advanced Security.
Now you need to create a new inbound rule.
Select Port Option For Add Port and click on next.
Now insert your port range like following screenshot.
For Ex : Here I need to allow 100 to 200 no. port.
Select Allow the connection radio button and click on next.
check all three check boxes for enabling all networks.
And here you need to write this process name which you want.
That set now you can access this port.