chatgpt-web icon indicating copy to clipboard operation
chatgpt-web copied to clipboard

docker部署直接提示网页打不开的把127.0.0.1换成0.0.0.0就行了,坑了我一个小时才处理好

Open jiangxiaohuai520 opened this issue 1 year ago • 5 comments

jiangxiaohuai520 avatar Apr 19 '23 08:04 jiangxiaohuai520

嗯,0.0.0.0,才能提供外网,127.0.0.1只能本地访

dooooongyuan avatar Apr 19 '23 11:04 dooooongyuan

也可以把IP删掉,只保留端口,毕竟是出于安全考虑,默认只对本地开放

CYTand avatar Apr 19 '23 16:04 CYTand

能说详细一些吗,是在yml的哪里配置修改成0.0.0.0,谢谢!

GitHubChrisChen8035 avatar Apr 20 '23 00:04 GitHubChrisChen8035

部署在服务器后,本地电脑要访问的话要怎么打开

1205129045x avatar Apr 20 '23 07:04 1205129045x

能说详细一些吗,是在yml的哪里配置修改成0.0.0.0,谢谢!

对的,前面的端口127.0.0.1直接删掉就好了,然后用你的vpsip地址:你的端口救能访问了

1205129045x avatar Apr 20 '23 12:04 1205129045x

This issue is stale because it has been open for 10 days with no activity.

github-actions[bot] avatar May 01 '23 01:05 github-actions[bot]

针不戳 难怪我访问不到

percyjie avatar Jun 26 '23 02:06 percyjie

This issue is stale because it has been open for 10 days with no activity.

github-actions[bot] avatar Jul 18 '23 02:07 github-actions[bot]

This issue was closed because it has been inactive for 2 days since being marked as stale.

github-actions[bot] avatar Jul 21 '23 01:07 github-actions[bot]