βœ… How to Allow Client PC to Connect with Server Without Turning Off Windows Firewall

βœ… How to Allow Client PC to Connect with Server Without Turning Off Windows Firewall

If your client PC cannot access the server even though both systems are connected via the network, the issue might be related to Windows Firewall blocking inbound connections.

Follow the steps below to allow Inbound Connections through the Windows Defender Firewall without disabling the firewall entirely.


πŸ”§ Step-by-Step Guide:

πŸ”Ή Step 1: Open Windows Defender Firewall with Advanced Security

  1. Press Windows + R, type wf.msc, and press Enter.

  2. The Windows Defender Firewall with Advanced Security window will open.

πŸ“Έ Refer to the image below:


πŸ”Ή Step 2: Check Firewall Status for All Network Profiles

Ensure that all three profiles (Domain, Private, and Public) are ON and allow inbound connections that match the rules.

Each profile should say:

Inbound connections that do not match a rule are allowed.

This ensures that rules you've created to allow specific ports (like SQL Server port 1433) will be respected even if the firewall is on.


πŸ”Ή Step 3: Modify Inbound Connection Settings (No Need to Turn Off Firewall)

To allow inbound connections, follow these steps:

  1. Click on Windows Defender Firewall Properties (link at the bottom of the overview section).

  2. In the Public Profile tab (or the profile your PC is using), set:

    • Firewall State β†’ On (recommended)

    • Inbound Connections β†’ Allow

    • Outbound Connections β†’ Leave as Allow (default)

πŸ“Έ Example screenshot:


  1. Click Apply and then OK.

πŸ”’ This configuration keeps your firewall ON but allows incoming connections, enabling your client systems to connect to the server for applications like database access or file sharing.


πŸ”„ Additional Tip: Create an Inbound Rule for Specific Port (Optional but Recommended)

You can further secure your system by creating a rule that allows only specific ports (e.g., SQL Server default port 1433).

  1. Go to Inbound Rules β†’ New Rule.

  2. Choose Port, select TCP, and enter the required port ( 1433 ).

  3. Choose Allow the connection.

  4. Select the profiles (Domain/Private/Public) to which it applies.

  5. Give it a name (e.g., "SQL Server Inbound Rule").


βœ… Final Outcome

The client PC will now be able to access the server while the Windows Firewall remains ON, ensuring both accessibility and security.


    • Related Articles

    • πŸ–¨οΈ VIDYA Software Closes on Clicking the Print Button

      ⚠️ Problem When the user clicks the Print button, the software closes or crashes instead of opening the print dialog. ? Cause The most common reason is a corrupted or incompatible printer driver. When the application triggers the print function, the ...
    • Certificate or Student Modify Section Not Working

      Issue: Certificate or Student Modify Section Not Working Problem: Sometimes, after updating the software, the Certificate Modify or Student Modify section may not work properly. You may also notice that generated certificates are not showing. Reason: ...
    • 🏫 Exam Module – Problem & Solution Guide (From Basic to Advanced Issues)

      1️⃣ Error in Generating Marksheet ❌ Error: β€œIndex was outside the bounds of the array” ? Cause: Mark Entry is not filled. βœ… Solution Steps: ? Go to Mark Entry Section in Exam/Exam CBSE Module. ? Select Shift, Class, Stream, Section β†’ Click Load ...