Skip to main content

How can I tell what is using a port needed by Appvance IQ?

What Operating System are you using?

I have a Mac

I have Windows

Mac

    Open Terminal

    Enter the following command, where 8443 represents the port you wish to check:

    lsof -i :8443

    Any resources actively using the specified port display along with the PID (Process ID)

    If you wish to kill (stop) the resource, enter the following command, where 12345 represents the PID to terminate:

    sudo kill 12345

    Windows

      Open the Command Prompt
      Click Start, enter cmd and select Command Prompt

      Enter the following command, where 8443 represents the port you which to check:

      echo off & (for /f "tokens=5" %a in ('netstat -aon ^| findstr 8443') do tasklist /NH /FI "PID eq %a") & echo on
      Note the process ID and/or application using the specified port

      If you wish to stop the resource actively using the specified port
      1. Open the Task Manager
        Click Start, enter task and select Task Manager

      2. Select the Processes tab

      3. Ensure the PID column is visible
        Right-click any column header, and click PID

      4. Click the PID column to sort by Process ID

      5. Locate the process ID noted above, right-click and select End Task
        If you do not see the process ID of interest, check Show processes from all users



      Last updated: June 02, 2023

      If you have any feedback on this topic, please contact us at documentation@appvance.ai