How can I tell what is using a port needed by Appvance IQ?
What Operating System are you using?
Mac
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
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
If you wish to stop the resource actively using the specified port
- Open the Task Manager
Click Start, enter task and select Task Manager - Select the Processes tab
- Ensure the PID column is visible
Right-click any column header, and click PID - Click the PID column to sort by Process ID
- 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