valuecell icon indicating copy to clipboard operation
valuecell copied to clipboard

Error: listen EACCES: permission denied ::1:1420

Open yfywk opened this issue 1 year ago • 1 comments

bun install v1.3.0 (b0a6feca)

Checked 674 installs across 717 packages (no changes) [65.00ms] [ OK ] Frontend dependencies installed [INFO] Starting frontend dev server (bun run dev)... [INFO] Frontend PID: 43732 $ react-router dev Error: listen EACCES: permission denied ::1:1420 at Server.setupListenHandle [as _listen2] (node:net:1915:21) at listenInCluster (node:net:1994:12) at GetAddrInfoReqWrap.callback (node:net:2203:7) at GetAddrInfoReqWrap.onlookupall [as oncomplete] (node:dns:132:8) { code: 'EACCES', errno: -4092, syscall: 'listen', address: '::1', port: 1420 } error: script "dev" exited with code 1 [INFO] Starting backend (uv run scripts/launch.py)... [INFO] Launching in CMD for better interactive terminal support...

yfywk avatar Oct 20 '25 06:10 yfywk

This error, EACCES: permission denied ::1:1420, means your application was denied permission to start a server on port 1420.

Maybe resolution:

  1. change port config in frontend/vite.conifg.ts
server: {
    port: 1420,  // change to other port
    ...
  },
  1. find which process is using this port and then kill it

DigHuang avatar Oct 20 '25 07:10 DigHuang