Replies: 4 comments 6 replies
-
Something similar, what is the command to run admin only? I know Secondly, is it possible to run admin on the same port but different path? for example localhost:9000/a |
Beta Was this translation helpful? Give feedback.
-
btw I am able to run backend and frontend on docker compose but admin wont run; this is what i can from the logs
|
Beta Was this translation helpful? Give feedback.
-
I am also experiencing the same issue. I've setup the medusa backend + admin on an ec2 instance on aws. I'm using cloudflare as a reverse proxy into the ec2 and I'm able to reach the backend with calls from my separate frontend but when I try and access the admin I get the same |
Beta Was this translation helpful? Give feedback.
-
If you run medusa in mode production, you can access to the admin ui by the url http://localhost:9000/app http://localhost:9000 is the url and port of your backend project /app is the default value set in medusa-config.js options by the path variable |
Beta Was this translation helpful? Give feedback.
-
I installed medusa using the
yarn create medusa-app --seed
, which installed the backend as well as the admin UI.On Gitpod, I am able to pull in products using medusa js client but when I try to access the admin at localhost:7001 I get "Invalid host header"
On Codespaces, I am using a nodejs + postgres container and I am able to pull in products on the storefront using medusa js client but when I try to access the admin at localhost:7001, the page does not load most of the time and it shows this message in terminal " [webpack-dev-server] Gracefully shutting down. To force exit, press ^C again. Please wait..." Every now and then, the page does load but I can't login because of CORS issues, which I have not been able to resolve by setting the ADMIN_CORS / STORE_CORS. I have also tried using ngrok but ended up with the "Invalid host header" as above.
Anyone had any success running medusa admin on one of these services? Help please.
Thanks
Beta Was this translation helpful? Give feedback.
All reactions