zhayujie / bot-on-anything

Connect AI models (like ChatGPT-3.5/4.0, Baidu Yiyan, New Bing, Bard) to apps (like Wechat, public account, DingTalk, Telegram, QQ). 将 ChatGPT、必应、文心一言、谷歌Bard 等对话模型连接各类应用,如微信、公众号、QQ、Telegram、Gmail、Slack、Web、企业微信、飞书、钉钉等。
MIT License
3.89k stars 911 forks source link

channel:wecaht_mp,运行启动成功,显示监听http://0.0.0.0:8088/ #147

Closed 6vision closed 1 year ago

6vision commented 1 year ago

[INFO][2023-03-16 19:46:26][log.py:34] - [INIT] Start up: chatgpt on wechat_mp [INFO][2023-03-16 19:46:26][wechat_mp_channel.py:44] - [WX_Public] Wechat Public account service start! Bottle v0.12.25 server starting up (using AutoServer())... Listening on http://0.0.0.0:8088/ Hit Ctrl-C to quit.

这是什么原因呢

baichisong commented 1 year ago

就是监听这个端口ya

[INFO][2023-03-16 19:46:26][log.py:34] - [INIT] Start up: chatgpt on wechat_mp [INFO][2023-03-16 19:46:26][wechat_mp_channel.py:44] - [WX_Public] Wechat Public account service start! Bottle v0.12.25 server starting up (using AutoServer())... Listening on http://0.0.0.0:8088/ Hit Ctrl-C to quit.

这是什么原因呢

就是这样的,监听8088端口,估计你在配置里port号定义了8088,最好定义80吧,因为公众号只能指向80。

6vision commented 1 year ago

就是监听这个端口ya

[INFO][2023-03-16 19:46:26][log.py:34] - [INIT] Start up: chatgpt on wechat_mp [INFO][2023-03-16 19:46:26][wechat_mp_channel.py:44] - [WX_Public] Wechat Public account service start! Bottle v0.12.25 server starting up (using AutoServer())... Listening on http://0.0.0.0:8088/ Hit Ctrl-C to quit. 这是什么原因呢

就是这样的,监听8088端口,估计你在配置里port号定义了8088,最好定义80吧,因为公众号只能指向80。 监听地址不应该是127.0.0.1:8088么?我这显示0.0.0.0:8088,也可以么

6vision commented 1 year ago

就是监听这个端口ya

[INFO][2023-03-16 19:46:26][log.py:34] - [INIT] Start up: chatgpt on wechat_mp [INFO][2023-03-16 19:46:26][wechat_mp_channel.py:44] - [WX_Public] Wechat Public account service start! Bottle v0.12.25 server starting up (using AutoServer())... Listening on http://0.0.0.0:8088/ Hit Ctrl-C to quit. 这是什么原因呢

就是这样的,监听8088端口,估计你在配置里port号定义了8088,最好定义80吧,因为公众号只能指向80。

确实,是我80端口占用,显示0.0.0.0:8088没毛病,用一个没占用80端口的测试成功

baichisong commented 1 year ago

0.0.0.0也是一样的,跟127.0.0.1都代表本地localhost

---- 回复的原邮件 ---- | 发件人 | @.> | | 日期 | 2023年03月16日 22:43 | | 收件人 | @.> | | 抄送至 | @.>@.> | | 主题 | Re: [zhayujie/bot-on-anything] channel:wecaht_mp,运行启动成功,显示监听http://0.0.0.0:8088/ (Issue #147) |

就是监听这个端口ya

[INFO][2023-03-16 19:46:26][log.py:34] - [INIT] Start up: chatgpt on wechat_mp [INFO][2023-03-16 19:46:26][wechat_mp_channel.py:44] - [WX_Public] Wechat Public account service start! Bottle v0.12.25 server starting up (using AutoServer())... Listening on http://0.0.0.0:8088/ Hit Ctrl-C to quit. 这是什么原因呢

就是这样的,监听8088端口,估计你在配置里port号定义了8088,最好定义80吧,因为公众号只能指向80。 监听地址不应该是127.0.0.1:8088么?我这显示0.0.0.0:8088,也可以么

— Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you commented.Message ID: @.***>

6vision commented 1 year ago

0.0.0.0也是一样的,跟127.0.0.1都代表本地localhost ---- 回复的原邮件 ---- | 发件人 | @.> | | 日期 | 2023年03月16日 22:43 | | 收件人 | @.> | | 抄送至 | @.>@.> | | 主题 | Re: [zhayujie/bot-on-anything] channel:wecaht_mp,运行启动成功,显示监听http://0.0.0.0:8088/ (Issue #147) | 就是监听这个端口ya [INFO][2023-03-16 19:46:26][log.py:34] - [INIT] Start up: chatgpt on wechat_mp [INFO][2023-03-16 19:46:26][wechat_mp_channel.py:44] - [WX_Public] Wechat Public account service start! Bottle v0.12.25 server starting up (using AutoServer())... Listening on http://0.0.0.0:8088/ Hit Ctrl-C to quit. 这是什么原因呢 就是这样的,监听8088端口,估计你在配置里port号定义了8088,最好定义80吧,因为公众号只能指向80。 监听地址不应该是127.0.0.1:8088么?我这显示0.0.0.0:8088,也可以么 — Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you commented.Message ID: @.***>

谢谢解答,学到了,你会配置反向代理么,我博客占用了80端口

baichisong commented 1 year ago

你安装个nginx,然后用80接口接受,然后转发到8088

---- 回复的原邮件 ---- | 发件人 | @.> | | 日期 | 2023年03月17日 07:48 | | 收件人 | @.> | | 抄送至 | @.>@.> | | 主题 | Re: [zhayujie/bot-on-anything] channel:wecaht_mp,运行启动成功,显示监听http://0.0.0.0:8088/ (Issue #147) |

0.0.0.0也是一样的,跟127.0.0.1都代表本地localhost … ---- 回复的原邮件 ---- | 发件人 | @.> | | 日期 | 2023年03月16日 22:43 | | 收件人 | @.> | | 抄送至 | @.>@.> | | 主题 | Re: [zhayujie/bot-on-anything] channel:wecaht_mp,运行启动成功,显示监听http://0.0.0.0:8088/ (Issue #147) | 就是监听这个端口ya [INFO][2023-03-16 19:46:26][log.py:34] - [INIT] Start up: chatgpt on wechat_mp [INFO][2023-03-16 19:46:26][wechat_mp_channel.py:44] - [WX_Public] Wechat Public account service start! Bottle v0.12.25 server starting up (using AutoServer())... Listening on http://0.0.0.0:8088/ Hit Ctrl-C to quit. 这是什么原因呢 就是这样的,监听8088端口,估计你在配置里port号定义了8088,最好定义80吧,因为公众号只能指向80。 监听地址不应该是127.0.0.1:8088么?我这显示0.0.0.0:8088,也可以么 — Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you commented.Message ID: @.***>

谢谢解答,学到了,你会配置反向代理么,我博客占用了80端口

— Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you commented.Message ID: @.***>

Martin-dq commented 1 year ago

我也遇到了80端口被v2占用了,ngxin也不能动,难道要再搞个apache?