How to Configure IPP Printing on windows Server 2016/2019/2022

Sunil Kumar 10 Reputation points
2025-04-04T16:33:33.65+00:00

We have followed below steps to configure the IPP on windows Server:

To configure Internet Printing Protocol (IPP) on Windows Server 2022, follow these steps:

  1. Install the Internet Printing Feature

Open Server Manager:

  • Click on the Start button.
    • Select Server Manager.
    Add Roles and Features:
    - In Server Manager, click on **Manage** > **Add Roles and Features**.
    
       - Select **Role-based or feature-based installation** and click **Next**.
    
       **Select Your Server**:
    
          - Choose the server you want to configure and click **Next**.
    
          **Select Server Roles**:
    
             - Expand **Print and Document Services**.
    
                - Check the box for **Internet Printing** and click **Next**.
    
                **Add Features**:
    
                   - If prompted, click **Add Features** for any additional features required.
    
                      - Click **Next** through the remaining steps and then click **Install**.
    
  1. Enable Internet Printing in IIS

Open IIS Manager:

  • Press Windows + R, type inetmgr, and press Enter.

Expand Your Server Node:

  - In the left-hand Connections pane, expand the node for your server.
  

Access ISAPI and CGI Restrictions:

  • Click on your server name.
    • In the middle pane, double-click ISAPI and CGI Restrictions.
    • Ensure that Internet Printing is set to Allow.
  1. Configure Firewall to Allow Port 631

Open Windows Defender Firewall with Advanced Security:

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

Create an Inbound Rule:

  - Click on **Inbound Rules**.
  
     - Select **New Rule** on the right-hand side.
     
        - Choose **Port** and click **Next**.
        
           - Select **TCP** and specify **Specific local ports: 631**.
           
              - Click **Next**, allow the connection, and complete the rule setup.
              
  1. Share Your Printer

Open Devices and Printers:

  • Go to Control Panel > Devices and Printers.

Share the Printer:

  • Right-click on the printer you want to share and select Printer properties.
  • Go to the Sharing tab.
    • Check the box labeled Share this printer.
  1. Test the Connection
  2. Access the IPP Printer:
    • Open a web browser and navigate to http://<server-ip>:631/printers.

I am able to access http://<server-ip>/printers but not able to access with Ports http://<server-ip>:631/printers

Also checked Netstat -ano | find "631" but listing ports are not available ..

Troubleshooting done:

  • Reconfigure again all Setup
  • Firewall complete disabled
  • Rules 631 inbound created.
  • CGI separate module configured " CGI Restrictions allow for internet printing"
  • Print spooler restarted
  • Internet printing agent configured on windows server
  • Authentication checked all windows etc.

But still unbale to access URL with port 631 also 631 port is not available in listing

Can anyone suggest on it ??

-

Windows for business | Windows Server | User experience | Other
{count} votes

1 answer

Sort by: Most helpful
  1. Daphne Huynh (WICLOUD CORPORATION) 320 Reputation points Microsoft External Staff Moderator
    2025-10-29T06:50:31.35+00:00

    Welcome to the Microsoft Q&A Platform,

    To configure Internet Printing Protocol (IPP) on Windows Server 2022, follow the steps below to install, enable, and verify access over port 631.

    • Step 1: Install Print and Document Services
    1. Open Server Manager → click Manage → Add Roles and Features.
    2. Choose Role-based or feature-based installation, then select your server.
    3. Under Server Roles, expand Print and Document Services and select:
    • Print and Document Services
    • Internet Printing
    1. Complete the wizard and restart the server if prompted.
    • Step 2: Configure IPP
    1. Open Print Management from Server Manager.
    2. Add and share printers as needed.
    3. By default, IPP uses TCP port 631 for communication.
    • Step 3: Verify IPP Access

    From a client browser, test IPP connectivity by navigating to:

    http://<server_name>/printers/

    or

    http://<server_ip>:631/printers/

    Troubleshooting Port 631 Issues

    1. Firewall Configuration

    Open Windows Defender Firewall (wf.msc) and create an inbound rule:

    New-NetFirewallRule -DisplayName "IPP TCP 631" -Direction Inbound -Protocol TCP -LocalPort 631 -Action Allow

    1. Verify Service Status
    • Open services.msc
    • Ensure Internet Printing Protocol (IPP) service is running
    1. Test Network Connectivity

    Use PowerShell:

    Test-NetConnection -ComputerName <server_ip> -Port 631

    1. Confirm Printer Sharing and Permissions

    Verify printers are shared and accessible by authorized users.

    1. Network Trace (Advanced)

    If connectivity issues persist:

    netsh trace start capture=yes persistent=yes maxSize=1024 traceFile=C:\trace.etl

    netsh trace stop

    Analyze traffic on port 631 to check for packet drops or blocks.

    Following these steps should allow you to configure and troubleshoot IPP printing on Windows Server 2022 successfully.

    Thank you for your question!

    0 comments No comments

Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.