Warning: file_get_contents(/data/phpspider/zhask/data//catemap/9/google-cloud-platform/3.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Google cloud platform gcp https负载平衡器前端是否可以侦听443以外的端口?_Google Cloud Platform_Terraform Provider Gcp - Fatal编程技术网

Google cloud platform gcp https负载平衡器前端是否可以侦听443以外的端口?

Google cloud platform gcp https负载平衡器前端是否可以侦听443以外的端口?,google-cloud-platform,terraform-provider-gcp,Google Cloud Platform,Terraform Provider Gcp,我需要在端口443以外的其他端口上侦听HTTPS-SSL,我看不到任何方法。 我不使用TCP负载平衡的原因是,负载平衡器在SSL上侦听,后端在HTTP上侦听(在AWS上非常有效)。 有什么想法吗? 目前不可能,REST API参考文档中列出了约束,请参见 波特兰 串 此字段与TargetHttpProxy的目标字段一起使用, TARGETHTTPPROXY,TargetSslProxy,TARGETCPPROXY,TargetVpnGateway, 目标池,目标站 仅当IPProtocol为TC

我需要在端口443以外的其他端口上侦听HTTPS-SSL,我看不到任何方法。
我不使用TCP负载平衡的原因是,负载平衡器在SSL上侦听,后端在HTTP上侦听(在AWS上非常有效)。 有什么想法吗?

目前不可能,REST API参考文档中列出了约束,请参见

波特兰 串

此字段与TargetHttpProxy的目标字段一起使用, TARGETHTTPPROXY,TargetSslProxy,TARGETCPPROXY,TargetVpnGateway, 目标池,目标站

仅当IPProtocol为TCP、UDP或SCTP时适用,仅适用于数据包 地址在指定范围内的端口将转发到目标。 必须具有相同[IPAddress,IPProtocol]对的转发规则 不相交的端口范围

某些类型的转发目标对可接受的 端口:

targethttproxy:808080

targetHttpProxy:443

TARGETCPPROXY:25, 431101431954434658700993995168818835222

目标LProxy:25,43,110,143,195,443,465,587,700,993,995, 168818835222

TargetVpnGateway:5004500


你想这样做有什么特别的原因吗?端口443是HTTPS连接的标准监听端口。是的,历史原因。这是一个API入口点,我正在从AWSI转移到Serverfault。-您是否尝试过将字段端口更改为您需要的端口?我尝试过,没有。只有443是的,已经拿到了。这是一种痛苦:-(无论如何,谢谢你的回答