Open fan1jun opened 1 year ago
如题,使用docker内的ip (https://172.17.0.3:8787/v1) 无法调用,返回错误:
[CHATGPT] Bad Gateway: HTTP code 504 from API
在 docker run 的时候有参数 -p 8787:8787 就可以使用 http://127.0.0.1:8787/v1 调用。具体请查阅docker网络端口相关资料。
docker run
-p 8787:8787
http://127.0.0.1:8787/v1
如题,使用docker内的ip (https://172.17.0.3:8787/v1) 无法调用,返回错误:
[CHATGPT] Bad Gateway: HTTP code 504 from API