【问题标题】:CloudFlare how to point to 2087 port https?CloudFlare如何指向2087端口https?
【发布时间】:2016-07-01 17:58:38
【问题描述】:

据说现在CloudFlare支持2087作为Https的端口

我有一个域,可以说是www.somethign.com,并且使用 CloudFlare 是安全的

我在特定端口上运行我的 node.js。

如果我选择一个端口 8080,which is a port allowed for http,然后我将我的页面称为:

http://www.mydomaidnExample.com:8080/webhook

效果很好。

但是当我为 https 设置端口时,such as 2087 并像这样调用它

http://www.mydomadin.com:2087/webhook

我收到这个错误

请问我该怎么办?

注意这个网址

localhost:2087/webhook

正在服务器上工作

更新

防火墙已关闭

【问题讨论】:

    标签: node.js ssl https cloudflare


    【解决方案1】:

    使用 CloudFlare 时有restrictions around which ports you connect through 出于安全原因,2087 端口保留用于 SSL 使用:

    For requests made via HTTP:
    
    80
    8080
    8880
    2052
    2082
    2086
    2095
    
    For requests made via HTTPS:
    
    443
    2053
    2083
    2087
    2096
    8443
    

    因此,当在 CloudFlare 中使用完全 SSL 模式并通过端口 2087 连接时,到源的连接将通过 SSL,如果要禁用此功能,可以使用页面规则在该端口上将 SSL 转换为灵活。

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 1970-01-01
      • 2017-08-27
      • 1970-01-01
      • 2021-01-14
      • 2020-05-27
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      相关资源
      最近更新 更多