Deployed Dify On Localhost 3000 #556

Closed
opened 2026-02-21 17:27:34 -05:00 by yindo · 3 comments
Owner

Originally created by @MirzaAreebBaig on GitHub (Oct 7, 2023).

Provide a description of the help you need

Hello,
I have successfully deployed dify on local start have followed the docs

API is running
image

Frontend is also running
image

& i'm even able to see the login screen at http://localhost:3000/
but i got no email id and password
in order to install i'm going to http://localhost:3000/install & here i'm facing this error

image
image
image

Originally created by @MirzaAreebBaig on GitHub (Oct 7, 2023). ### Provide a description of the help you need Hello, I have successfully deployed dify on local start have followed the docs API is running ![image](https://github.com/langgenius/dify/assets/45519744/4cdf8112-43ea-4f37-beca-f54d3dc67eb0) Frontend is also running ![image](https://github.com/langgenius/dify/assets/45519744/120997ab-4dbb-47f7-849b-a25ccf563245) & i'm even able to see the login screen at http://localhost:3000/ but i got no email id and password in order to install i'm going to http://localhost:3000/install & here i'm facing this error ![image](https://github.com/langgenius/dify/assets/45519744/959caff1-4f03-4cfa-85b3-4676257b0413) ![image](https://github.com/langgenius/dify/assets/45519744/0482c5c3-1f3b-4854-a8fd-5ae8becbb4c3) ![image](https://github.com/langgenius/dify/assets/45519744/9a9dfae2-02c8-4744-8209-2c8112996635)
yindo closed this issue 2026-02-21 17:27:34 -05:00
Author
Owner

@crazywoola commented on GitHub (Oct 7, 2023):

It is is because you have not set the env in web folder
That results to the api not sent to localhost api port correctly.

cd dify/web
copy .env.example .env.local
@crazywoola commented on GitHub (Oct 7, 2023): It is is because you have not set the env in [web folder](https://github.com/langgenius/dify/blob/fff39a307ae1e60bf6081e2aa1c0805ad461ac53/web/.env.example#L2) That results to the api not sent to localhost api port correctly. ```bash cd dify/web copy .env.example .env.local ```
Author
Owner

@MirzaAreebBaig commented on GitHub (Oct 8, 2023):

The .env.local file was made as per the doc before running "npm run build" but still same error.
Again i have tried doing the same things still it directly takes to the login page and /install doesn't work it gives the same error.

@MirzaAreebBaig commented on GitHub (Oct 8, 2023): The .env.local file was made as per the doc before running "npm run build" but still same error. Again i have tried doing the same things still it directly takes to the login page and /install doesn't work it gives the same error.
Author
Owner

@llj-dot commented on GitHub (Oct 8, 2023):

经过调整后,本地可以正常访问,但是其他终端访问还是有同样的错误。
捕获

@llj-dot commented on GitHub (Oct 8, 2023): 经过调整后,本地可以正常访问,但是其他终端访问还是有同样的错误。 <img width="723" alt="捕获" src="https://github.com/langgenius/dify/assets/145964912/cfc0b7bb-5b05-458a-98cc-eee6b763059a">
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: langgenius/dify#556