I have deployed Dify locally, but the web interface is not running on the default port 80—it’s using a different port. However, as shown in this image, the port appears unchangeable. When I copy and paste the displayed URL into my browser, I cannot access it. What is the purpose of the address shown here? How can I modify it? Or is this merely an example with no actual functionality?
I also encountered an issue: I changed Dify’s port to 8000, and the backend can be accessed, but after publishing the workflow, the interface cannot be opened and I have to manually add the port.
The following environment variables will be used for URLs displayed on the screen, depending on their purposes.
Try editing your .env file and then stopping & restarting your instance.
SERVICE_API_URL
TRIGGER_URL
APP_WEB_URL
FILES_URL
For more details about each environment variable, please refer to the comments in .env.example.