由于端口80

问题描述

您好,我正在带有NAT下具有静态IP地址的Windows服务器上运行具有用于HTTPS的greenlock-express的快速服务器的认示例。 快速应用程序是通过npx greenlock init生成的,看起来像这样:

'use strict';

var app = require('./app.js');

require('greenlock-express')
.init({
    packageRoot: __dirname,// contact for security and critical bug notices
    maintainerEmail: "email",// where to look for configuration
    configDir: './greenlock.d',// whether or not to run at cloudscale
    cluster: false
})
// Serves on 80 and 443
// Get's SSL certificates magically!
.serve(app);

我停止了IIS,并且端口80上没有其他服务。服务器已分配给域,并且 它曾经在AWS EC2实例上工作。但是现在,当我运行节点并连接到域时,浏览器将显示Establishing secure connection...,不久后,我在服务器控制台中收到以下错误消息:

Error cert_issue:
   connect ETIMEDOUT 93.64.8.216:80
   code: ETIMEDOUT
Error: connect ETIMEDOUT 93.64.8.216:80
   at TCPConnectWrap.afterConnect [as oncomplete] (net.js:1141:16)

任何没有greenlock的基本快速示例都可以在端口80上工作。greenlock可能是什么问题?

解决方法

暂无找到可以解决该程序问题的有效方法,小编努力寻找整理中!

如果你已经找到好的解决方法,欢迎将解决方案带上本链接一起发送给小编。

小编邮箱:dio#foxmail.com (将#修改为@)