making compute engine https to access from https protocol

266 views
Skip to first unread message

Emanuel Allen

unread,
Mar 17, 2020, 7:47:24 AM3/17/20
to Google App Engine
i want to make my node server running in compute engine https accessible. 

fgervais

unread,
Mar 17, 2020, 10:27:03 AM3/17/20
to Google App Engine

Hello Emanuel,


The first step would be to make sure your application is listening for requests on the port 443.

Once that is done, you need to make sure the firewall is allowing the requests to actually reach the post 443.


You can create a rule via the Cloud Console with these instructions [1]. Here is an example of how to create a rule via the Cloud Shell [2].


If you are using this command [2], make sure you assign the tag “webserver" to your node [3] so the firewall rule applies to it.


Regards,


Frederic



[1] https://cloud.google.com/vpc/docs/using-firewalls#creating_firewall_rules

[2] https://cloud.google.com/vpc/docs/using-firewalls#example_3_allow_egress_tcp_connections_to_port_443_of_an_external_host

[3] https://cloud.google.com/vpc/docs/add-remove-network-tags#adding_and_removing_tags


Emanuel Allen

unread,
Mar 17, 2020, 12:46:42 PM3/17/20
to Google App Engine

i get a error doing everything you ask me. do you know how i can

Error: listen EACCES: permission denied 0.0.0.0:443

how to write my own SSH key pair with out getting a warning of self sign.

On Tuesday, March 17, 2020 at 7:47:24 AM UTC-4, Emanuel Allen wrote:

Emanuel Allen

unread,
Mar 17, 2020, 12:48:47 PM3/17/20
to Google App Engine
what i mean by the warning is when you go to it in the browser that you get a warning of self sigh

Digil(Google Cloud Platform Support)

unread,
Mar 18, 2020, 1:00:58 PM3/18/20
to Google App Engine
You may follow this help center article to control access to Linux instances by manually creating SSH keys and editing public SSH key metadata.

Your error report itself is not clear enough. However, I saw a discussion here about the "Error: listen EACCES 0.0.0.0:443", I am not sure whether it is actually your situation right now. But it is highly recommendable to post the same concern with stackoverflow.com to get some additional overview/support.

Are you trying to manage Google Compute Engine with Node.js client?. If that's the scenario, I have seen some similar discussion threads(thread-1&thread-2) in stackoverflow.com, which I would highly recommend you to follow.
Reply all
Reply to author
Forward
0 new messages