Error AH00072 Could Not Bind to Address With NI Web Server

Updated Jul 9, 2024

Issue Details

  • After installing NI SystemLink or G Web Development Software, the NI Web Server no longer starts. It always errors with code AH00072.
  • My NI Web Server used to run fine, but it randomly stopped working and now I always see the below error. How can I resolve this?
[<date>] [proxy:warn] [pid 87576:tid 700] AH01146: Ignoring parameter 'timeout=3000' for worker 'http://localhost:59850' because of worker sharing
(OS 10013)An attempt was made to access a socket in a way forbidden by its access permissions. : AH00072: make_sock: could not bind to address [::]:80

Solution

This error occurs because the NI Web Server does not have permission to use the specified port, or another process is already using it. This error can be resolved in two ways:
  • Identifying and stopping the process that is already using the specified port.
  • Changing the server's HTTP port.
Depending on your preference, follow the relevant section below.
 

Identify the Process Using the Port

  1. From the Start Menu, search for "Command Prompt", right-click it and select Run as Administrator.
  2. Enter netstat -aon | findstr :<port> where <port> is the port named the error.
    • This generates a list of processes using the port specified.
    • The example image below is for the default HTTP port 80

netstat port 80.PNG
 
  1. Pay attention to the right-most column, which lists the Process ID (pid).
  2. Open Task Manager. Click More Details if a detailed view is not already visible.
  3. On the Processes tab, right-click any column title and ensure that PID is enabled.
  4. Scan through the PIDs for each process (using the Command Prompt results as a reference for processes using the NI Web Server port).
  5. Once identified, kill the process that is using the required NI Web Server port.

Change the NI Web Server HTTP Port

  1. Open the NI Web Server Configuration application.
  2. Select the HTTPS tab.
  3. Change the port under Server HTTP Port.
  4. Click Apply and Restart.


NI Web Server Port.PNG

 

Additional Information

Further Troubleshooting

If the issue persists after following the relevant section(s) above, consider the points below:
  1. Check Event Viewer for System errors.
    1. Open the Event Viewer application.
    2. Select Windows Logs >> System.
    3. On the right-hand side, click Filter Current Log.
    4. In the pop-up window, ensure Warning and Error are enabled and then click OK.
    5. Scroll through the list of errors until you identify events associated with NI Web Server. Perform any resolution steps suggested in the error details.
  2. Re-install NI Web Server.
    1. First, uninstall NI Web Server using the instructions in Installing, Updating, Repairing, and Removing NI Software - NI Package Manager User Manual.
    2. Once complete, install NI Web Server again.