Repository navigation
Port 3000 is already in use #258
Answered
by
kOaDT
kOaDT
asked this question in
Setup and install
|
|
Answered by
kOaDT
Aug 13, 2026
Replies: 1 comment
|
Something else is already on 3000. Either free it, or move the lab. Docker: docker run -p 8080:3000 leogra/oss-oopssec-storenpm: PORT=8080 npm startOne catch. Several challenges build absolute URLs from NEXT_PUBLIC_BASE_URL=http://localhost:8080In To find out what is holding 3000 in the first place: |
0 replies
Answer selected by
kOaDT
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Something else is already on 3000. Either free it, or move the lab.
Docker:
npm:
One catch. Several challenges build absolute URLs from
NEXT_PUBLIC_BASE_URL(seelib/config.ts), which defaults tohttp://localhost:3000. If you change the port, set it to match or those challenges will point at the wrong host:In
.envfor a local install, or underenvironment:indocker-compose.ymlif you are running from source.To find out what is holding 3000 in the first place:
lsof -i :3000on macOS and Linux,netstat -ano | findstr :3000on Windows.