Skip to content

Error on open /admin #219

Answered by frankie567
csmaniottojr asked this question in Q&A
Jun 21, 2023 · 3 comments · 1 reply
Discussion options

You must be logged in to vote

There's a problem with the port definition: the environment variable PORT and the port on which you open the server must match. So, if the server command is fief run-server --port 80, then you should have PORT=80 in .env.

It's a bit hard to follow, because the port is different inside and outside the container. I would suggest to be consistent everywhere, if that's possible for you (e.g. 8000 everywhere or 80 everywhere).

Replies: 3 comments 1 reply

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
1 reply
@csmaniottojr
Comment options

Answer selected by csmaniottojr
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants