You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Oct 7, 2024. It is now read-only.
When the server is started, in Docker attached shell I type: strapi develop --watch admin and I get:
debug ⛔️ Server wasn't able to start properly.
[2021-06-28T18:34:00.151Z] error The port 1337 is already used by another application.
root@af70eda90919:/srv/app# ℹ 「wds」: Project is running at http://localhost:8000/
ℹ 「wds」: webpack output is served from /admin/
ℹ 「wds」: Content not from webpack is served from /srv/app
ℹ 「wds」: 404s will fallback to /admin/
Starting the development server...
Admin development at http://0.0.0.0:8000/admin/
@ChristianHeimke it is not enough just to run with --watch admin, port 8000 should be exposed somehow and host should be probably 0.0.0.0 in config/admin.js, I have not figured it out myself
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
My composer file is:
When the server is started, in Docker attached shell I type:
strapi develop --watch admin
and I get:I can connect to http://0.0.0.0:8000/admin/ but when I log in with the correct password I get:
Failed to load resource: the server responded with a status of 400 (Bad Request)
and http://0.0.0.0:1337/admin/ is still up...
How can I first stop
strapi develop
and then launchstrapi develop --watch admin
?The text was updated successfully, but these errors were encountered: