1

有人用 Ubuntu 服务器 16.0 尝试 Botman studio 2.0 吗?我为电报聊天机器人尝试了它,但它没有用。

我可以毫无错误地下载 botman studio 和驱动程序。

当我尝试使用php artisan serve时,我可以看到Laravel 开发服务器已启动:http: //127.0.0.1 :8000但访问此本地 URL 会出现 404 错误。

我还尝试按照此链接上的步骤进行操作-

https://botman.io/2.0/driver-telegram

一切都已安装和配置,没有任何错误,但它不起作用。

请检查下面的屏幕截图。

截屏

4

2 回答 2

0

您正在通过 FTP 编辑代码。

我猜你的代码在远程服务器而不是本地服务器上。

127.0.0.1 用于本地。

尝试使用远程服务器的 IP 而不是 127.0.0.1 进行正确访问。

就像你在使用 FTP 时所做的一样

The IP address 127.0.0.1 is a special-purpose IPv4 address called localhost or loopback address. 

All computers use this address as their own but it doesn't let them communicate with other devices like a real IP address does.
于 2019-03-04T06:28:13.977 回答
0

尝试使用ngrok 之类的东西来获取公共 URL,这将解决您的问题。

于 2019-03-06T10:20:55.350 回答