My server has 2 IPs configured on it. I want to open port 80 for IP #1 and open port 3306 for IP #2. How can I configure the firewall for this?
To allow inbound network traffic on only a specified TCP or UDP port number, use the Windows Defender Firewall with Advanced Security node in the Group Policy Management MMC snap-in to create firewall rules. This type of rule allows any program that listens on a specified TCP or UDP port to receive network traffic sent to that port.
This might help you out
If the reply is helpful, please Upvote and Accept it as an answer
10 people are following this question.