-
Notifications
You must be signed in to change notification settings - Fork 341
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
itchatmp env_test(port) 80端口被占用 #46
Comments
import itchatmp itchatmp.update_config(itchatmp.WechatConfig( @itchatmp.msg_register(itchatmp.content.TEXT) itchatmp.run() |
换一个端口吧 |
你好,我碰到了相同的问题。目前的我解决方法是网页服务器识别到微信来的消息后会进行转发,到我机器人绑定的端口。但是我机器人设计的时候,并不是一问一答式的,也就是说用户发送一个消息来,我会先将消息存在队列里,当做完相应的操作的时候,回复使用 itchatmp.send('message', UserID) 这个函数来实现。 但我发现,似乎这个函数没法回复消息?微信那边没报错,我这边也没报错,但就是收不到消息 |
ubuntu上跑,遇到这个问题, 检查80和443端口都没有被占用,求解决方案? |
ubuntu上跑,遇到这个问题, 解决方案: 切换到root用户执行python,可以顺利运行。 在ubuntu下,切换到root用户: PS:使用sudo运行python会报错。 用itchatmp做了一个订阅号,欢迎关注:啊啦嘻哈 |
arm上跑,遇到这个问题,
raise environmenterror:port 80 is in use
但是实际上 netstat-ano 并没有任务占用此端口
The text was updated successfully, but these errors were encountered: