Unable to connect external IP over specific port

I have a working container which i deploy every morning to a VM. It servers  application at 8000 port. I am doing this since last 3 weeks and everything was working fine until 17th Apr. 

As usual i created the machine using my container and when front end made the call to service it gave timeout. I did following to investigate the problem 

  1. logged in to the machine using ssh and tested the service locally on the port 8000 - It  worked.
  2. Check the firewall and 8000 port was still enabled in the rules. 
  3. Ping the machine from my local and it was pinging okay. 
  4. There was no network tags used earlier so there was nothing to investigate on tags. 

Since everything was in place, only problem seems to be not able to reach out to the specific port via external IP. I did following to trouble shoot. 

  1. On my existing billing account (which was organization) - there was a warning that i need to verify the tax document. So I created a new billing account (individual) and transferred the project to this new account. After 12 hr timegap started testing again same problem. 
  2. Created a network tag and assigned http-server tag to firewall and to machine. Tested again no help. 
  3. Created a simple http server on port 9000 (modified the firewall to allow 9000) but that too i am not able to reach from outside. 

It looks like all the port on my machine are blocked and no http traffic is allowed. Not sure how to debug this next.  Attaching screenshot of network setting and IP address.

Please let me know if you have any suggestions.VPC_Settings.png

 

6 2 110
2 REPLIES 2

Hi @ronysangama01,

Welcome to the Google Cloud Community! 

It looks to me that all network configurations are set up properly, you have mentioned adding network tags in this case but this has been irrelevant so far since it was working without network tags. You may remove those and restore your initial configuration.

You may want to check the virtual machine if it's healthy and whether the port 8000 or 9000 is currently open by using the command:

sudo apt install net-tools #install net-tools
netstat -tuplen #check if port is opened

 By using this command, you can check whether the port is opened on your virtual machine.

Let me know if this works on your end.

Very very strange. 

It was not working due to pending account verification. They should have at least mentioned it somewhere. 

It is resolved now.