doc: add faq for 80 port already in use
parent
84fbe80400
commit
63ca67f5c2
|
|
@ -142,3 +142,7 @@ You can refer to the official website environment variable description document
|
|||
### 12. How does the local deployment edition invite members through email?
|
||||
|
||||
Local deployment edition, members can be invited through email. After entering the email invitation, the page displays the invitation link, copies the invitation link, and forwards it to users. Your team members can open the link and log in to your space by setting a password through email login.
|
||||
|
||||
### 13. How to solve listen tcp4 0.0.0.0:80: bind: address already in use?
|
||||
|
||||
This is because the port is occupied. You can use the `netstat -tunlp | grep 80` command to view the process that occupies the port, and then kill the process. For example, the apache and nginx processes occupy the port, you can use the `service apache2 stop` and `service nginx stop` commands to stop the process.
|
||||
|
|
@ -154,4 +154,8 @@ FileNotFoundError: File not found
|
|||
Can't load tokenizer for 'gpt2'. If you were trying to load it from 'https://huggingface.co/models', make sure you don't have a local directory with the same name. Otherwise, make sure 'gpt2' is the correct path to a directory containing all relevant files for a GPT2TokenizerFast tokenizer.
|
||||
```
|
||||
|
||||
可参考官网[环境变量说明文档](https://docs.dify.ai/v/zh-hans/getting-started/install-self-hosted/environments)去配置。以及相关 [Issue](https://github.com/langgenius/dify/issues/1261)。
|
||||
可参考官网[环境变量说明文档](https://docs.dify.ai/v/zh-hans/getting-started/install-self-hosted/environments)去配置。以及相关 [Issue](https://github.com/langgenius/dify/issues/1261)。
|
||||
|
||||
### 14. 本地部署 80 端口被占用应该如何解决?
|
||||
|
||||
本地部署 80 端口被占用,可通过停止占用 80 端口的服务,或者修改 docker-compose.yaml 里面的端口映射,将 80 端口映射到其他端口。通常 Apache 和 Nginx 会占用这个端口,可通过停止这两个服务来解决。
|
||||
|
|
|
|||
Loading…
Reference in New Issue