CloudFlare如何指向2087端口https?

时间:2016-07-01 17:58:39

标签: node.js ssl https cloudflare

据说现在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

我收到此错误

enter image description here

我该怎么办?

请注意此网址

localhost:2087 / webhook

正在使用服务器

更新

防火墙已关闭

1 个答案:

答案 0 :(得分: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设置为Flexible。 / p>