I created a windows 2012 server VM in GCP with 1 internal IP and 1 ephemeral external IP, I can ping the the google KMS server 35.190.247.13, but when I try activate the windows with
cscript \windows\system32\slmgr.vbs /dlv
cscript \windows\system32\slmgr.vbs /skms 35.190.247.13:1688
cscript \windows\system32\slmgr.vbs /ato
the last step prompt error "The Software Licensing Service reported that the computer could not be activated. No Key Management Service (KMS) could be contacted. Please see the Application Event Log for additional information."
Do I need to enable google private access in my VPC subnet even though I have an external IP?
pingis based upon ICMP, which is not associated with any transport layer (that's why it is impossible topinga specific port). The command to testtcp/1688connectivity rather is:If this doesn't work, you have to permit this destination in the firewall ruleset:
See Windows Licensing.