google-compute-engine"/>
  • 11
name

A PHP Error was encountered

Severity: Notice

Message: Undefined index: userid

Filename: views/question.php

Line Number: 191

Backtrace:

File: /home/prodcxja/public_html/questions/application/views/question.php
Line: 191
Function: _error_handler

File: /home/prodcxja/public_html/questions/application/controllers/Questions.php
Line: 433
Function: view

File: /home/prodcxja/public_html/questions/index.php
Line: 315
Function: require_once

name Punditsdkoslkdosdkoskdo

How to setup port forwarding on Google Cloud

I am trying to forward port 443 (SSL) on an external IP address on a Google Cloud VM, to port 6984 internally (using CouchDB) I am trying to do this so that I may use LetsEncrypt, which requires port 443 available to configure new certs.

I am looking at forwarding rules but see no way to specify a port mapping, only instance mapping.

How can I forward port 443 to port 6984 on a single Google Cloud VM?

What you're referring to is actually called Port Address Translation (PAT), and is not directly supported by Google Cloud Platform.

Instead, you might be able to reconfigure the software in question to listen on the desired port (6984).

EDIT: Let's Encrypt is sunsetting and deprecating TLS-SNI challenges, so you'll need to use HTTP-01 (port 80) or DNS-01 (DNS record) for Let's Encrypt instead -- so, if you use one of those, you can have CouchDB run on any port you want other than port 80.

  • 0
Reply Report

Trending Tags