google-cloud-platformconnectiongoogle-compute-enginefirewallwindows-firewall-api

Problem connecting 2 external IP Google Cloud Platafform


I created my VM(Google Cloud Platform), working with Windows Server 2008 R2. So i installed a program that needs the port 6900 opened to run. The program for work must connect to it own server that is: 200.229.50.3:6900. So i entered in the firewall rules of Google Cloud Platform, put ip as 0.0.0.0/0 and opened the port 6900. Also entered in the advanced configures of firewall on my VM, and also allowed the port 6900. Tried to run the program and failed, tried to run telnet to test and failed. Already checked security settings, disabled firewall, etc. I don't know whats is happening.

Follow my Google Cloud Platafform Firewall Rules bellow:

Firewall Rules

Follow my instance Firewall Rules:

Instance Firewall Rules

Follow the program getting error trying to connect on it own server:

Program error

If someone want enter in my instance to check better it, can download the RDP file from here: RDP file

    my external ip: 104.198.152.164
    user: lala2018
    password: ^#0aQaaz)MXbMNy

The program that the error is ocurring is on the desktop with the name xstart.

Feel free to run it, and try to understand what is the problem, because i can't find reasons for it isn't running right.

Someone can help me?


Edit 1:

Follow my VPC routting:

VPC 1 VPC 2

Edit 2:

Traced Route - 200.229.50.3


Solution

  • After seeing the screenshot of the message you attached, it looks like you are trying to connect from a GCP instance to the server "200.229.50.3" whose IP address belongs to "LEVEL UP! INTERACTIVE LTDA" in Brasil; however, seems "200.229.50.3" is not allowing you to connect ("200.229.50.3" it doesn't respond). If this is correct, you may have to create firewall rules in "200.229.50.3" instead of creating them in GCP.

    I can see you have three rules to permit ingress and egress traffic from and to the GCP instances but none of them affects to "200.229.50.3" because this server doesn't belong to the GCP project: - The GCP firewall rule named "testeee" allows incoming connections from the IP address 200.229.50.3 to all instances within your GCP project through the port 6900. - The Windows firewall rule named "Port 6900" allows connections from any IP outside the Windows server through the port 6900. - The GCP firewall rules "mean-stack" and "exit900" are allowing egress traffic from GCP instances to any IP outside the GCP project through the port 6900.

    I tried to establish a telnet connection to 200.229.50.3:6900 but it doesn't respond. This could be normal because there could be a firewall in that server which is not allowing connections from my IP address; however, I have to ask the following: