Opening ports for a specific IP

Tim 21 Reputation points

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?

Windows Server
Windows Server
A family of Microsoft server operating systems that support enterprise-level management, data storage, applications, and communications.
12,595 questions
0 comments No comments
{count} votes

Accepted answer
  1. Anonymous

    You can create two custom rules (example)



    --please don't forget to upvote and Accept as answer if the reply is helpful--

    1 person found this answer helpful.

1 additional answer

Sort by: Most helpful
  1. Limitless Technology 39,496 Reputation points

    Hi there,

    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

    0 comments No comments