I have Windows 11 and am using Xfinity as my ISP.
I have port forwarded Port 2346 in my router.
In Defender Firewall I have set up an Inbound Rule for Port 2346 to "Allow the connection."
Defender Firewall is still blocking the port. I know it is Defender Firewall because if I turn it off then the port is no longer blocked. When I turn Defender Firewall back on the port is blocked.
How do I fix this so that I can keep Defender Firewall running and not block the port?
April 10, 2025
Windows 11 Top Contributors:
Why is Windows Defender Firewall blocking an inbound port?
Report abuse
Thank you.
Reported content has been submitted
Regards,
Paul R.
Report abuse
Thank you.
Reported content has been submitted
Was this reply helpful?
Sorry this didn't help.
Great! Thanks for your feedback.
How satisfied are you with this reply?
Thanks for your feedback, it helps us improve the site.
How satisfied are you with this reply?
Thanks for your feedback.
It is checked for both Private and Public. The port is still blocked.
Report abuse
Thank you.
Reported content has been submitted
Was this reply helpful?
Sorry this didn't help.
Great! Thanks for your feedback.
How satisfied are you with this reply?
Thanks for your feedback, it helps us improve the site.
How satisfied are you with this reply?
Thanks for your feedback.
Report abuse
Thank you.
Reported content has been submitted
Was this reply helpful?
Sorry this didn't help.
Great! Thanks for your feedback.
How satisfied are you with this reply?
Thanks for your feedback, it helps us improve the site.
How satisfied are you with this reply?
Thanks for your feedback.
It is for a game called MegaMek. I had no issues with setting this up on my old laptop which used Windows 10. But for some reason it is not working on Windows 11.
Report abuse
Thank you.
Reported content has been submitted
1 person found this reply helpful
·Was this reply helpful?
Sorry this didn't help.
Great! Thanks for your feedback.
How satisfied are you with this reply?
Thanks for your feedback, it helps us improve the site.
How satisfied are you with this reply?
Thanks for your feedback.
I am Ivan, I will help you with this.
Go to start menu right click select Terminal(admin)
Run the command one at a time below:
netsh advfirewall firewall add rule name="Moon UDP" dir=in protocol=udp localport=2346 action=allow
netsh advfirewall firewall add rule name="Moon TCP" dir=in protocol=tcp localport=2346 action=allow
Restart your computer and run the test.
Independent Advisor - Community
Thanks
Ivan Carlos.
Report abuse
Thank you.
Reported content has been submitted
4 people found this reply helpful
·Was this reply helpful?
Sorry this didn't help.
Great! Thanks for your feedback.
How satisfied are you with this reply?
Thanks for your feedback, it helps us improve the site.
How satisfied are you with this reply?
Thanks for your feedback.
Question Info
Last updated April 17, 2025 Views 8,625 Applies to: