Skip to content

Latest commit

 

History

History
47 lines (31 loc) · 995 Bytes

snippets.md

File metadata and controls

47 lines (31 loc) · 995 Bytes
  1. js-snippets
  2. css-snippets
  3. git-snippets
  4. exporting-copilot-chat-sessions-in-vscode-as-md
  5. export-twitter-bookmarks

Handling address already in use:

Error: listen EADDRINUSE: address already in use :::3000

The error EADDRINUSE: address already in use :::3000 indicates that port 3000 is already being used by another process. You can either stop the process using port 3000 or change the port your Express.js server is using.

  1. Find the Process: Use the following command to find the process using port 3000:
lsof -i :3000
  1. Kill the Process: Once you have the process ID (PID), you can kill it using:
kill -9 <PID>

Or, Change the Port in Your Express.js app.


Find Installed Java Versions:

/usr/libexec/java_home -V

Check Docker disk usage:

docker system df