Close the tcp port on a Mac
When apps are using a particular port, this is how it can be closed
Created Oct 19, 2024 - Last updated: Nov 22, 2024
🟧
Development
SF
faced this when using a custom connected app for linking to VSCode.
Open terminal to get the process details
lsof -i tcp:1717
Use the PID on that command and close the port
kill -9 <port#>