Microsoft BotBuilder nodejs教程错误(Microsoft BotBuilder nodejs Tutorial Error)

每个人我都试着按照教程来构建我的第一个机器人。

但是当我使用Bot Framework Emulator连接它时,它不会在模拟器上显示Hello World。

当我向服务器发送一些单词(如'test'或'P')时,崩溃可以告诉我

Error: connect ECONNREFUSED 127.0.0.1:5631 at Object.exports._errnoException (util.js:1022:11) at exports._exceptionWithHostPort (util.js:1045:20) at TCPConnectWrap.afterConnect [as oncomplete] (net.js:1090:14)

我该怎么办呢?

everyone I try to follow the tutorial to build my first bot.

But when I use Bot Framework Emulator to connect it, It don't show Hello World on Emulator.

And when I send some thing word(like 'test' or 'P') to server, It crash can show me

Error: connect ECONNREFUSED 127.0.0.1:5631 at Object.exports._errnoException (util.js:1022:11) at exports._exceptionWithHostPort (util.js:1045:20) at TCPConnectWrap.afterConnect [as oncomplete] (net.js:1090:14)

how can i fix it?

最满意答案

最后,我使用ngrok连接我的本地应用程序。 我不知道为什么我不能没有ngrok连接它。 但它可以工作,谢谢大家^^

Finally, I use ngrok to connect my local applicaion. I don't know why I can't connect it without ngrok. But It just can work, Thanks everyone ^^

更多推荐