Restify Server的问题 [英] Issues with Restify Server

查看:91
本文介绍了Restify Server的问题的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

早上好,

我正在尝试部署我一直在本地开发的僵尸框架v3聊天机器人,出于某种原因,似乎我的解析服务器不是'我能找到一个可以收听的端口。

I'm trying to deploy a bot framework v3 chatbot that I've been developing locally and for some reason it appears that my restify server isn't able to find a port to listen on.

我的代码如下:

/ / Setup Restify Server

var server = restify.createServer();

server.listen(process.env.port || process.env.PORT || 3978,function (){
$
   console.log('%s侦听%s',server.name,server.url);

});

// Setup Restify Server
var server = restify.createServer();
server.listen(process.env.port || process.env.PORT || 3978, function () {
   console.log('%s listening to %s', server.name, server.url);
});

然而,我收到回复:

restify收听http:// undefined:undefined

restify listening to http://undefined:undefined

这是什么原因?

推荐答案

谢谢你发布你的问题了!有关Azure Bot Framework问题的专业帮助,您可以在
上发布查询
SO
,用于接收来自正确专家组的见解。签出文件

额外的支持选项:Bot Framework额外资源




在此期间,为了隔离,你也可以将fiddler跟踪作为本地代理运行,以捕获有关错误和导致它的事实的更多细节。另外,签出文件

使用Bot Framework
创建一个bot,以获取有关该主题的更多详细信息。 
Thank you for posting your question! For a specialized assistance on Azure Bot Framework issue, you may post your query on SO, for receiving insights from the right set of experts. Checkout the document for additional support options: Bot Framework additional resources

In the interim, just to isolate, you could also run a fiddler trace as a local proxy to capture more detail about the error and facts leading up to it. Also, checkout the document Create a bot with the Bot Framework for more details on the topic. 


这篇关于Restify Server的问题的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆