Hey Pankaj, This type of question - a specific issue technical support request - should be posted to a Stack Exchange site like stackoverflow.com. This forum is meant more for general and high-level discussion of the platform. However, I'll be happy to assist you here. Some questions which should be asked at this point:
* Where are you connecting from with telnet? * Can you SSH into the instance and ensure that it's listening on 27017 with "sudo netstat -plant"? * Are you perhaps confusing "source-tags" with "target-tags" when you create the firewall rules? <https://cloud.google.com/sdk/gcloud/reference/compute/firewall-rules/create> Feel free to include any questions you may have in your reply. Best wishes, Nick Cloud Platform Community Support On Thursday, April 14, 2016 at 4:36:45 AM UTC-4, pankaj kumar wrote: > > I am trying to open the mongodb instance I created using the compute > engine cloud launcher so that I can access it from anywhere. I did the > following but it does not seem to work. Can you help? > > > # gcloud config set project my-project > # gcloud compute firewall-rules create allow-mongo --description "Incoming > mongo allowed." --source-tags=mongo-arbiter --allow tcp:27017 > Created [allow-mongo]. > NAME NETWORK SRC_RANGES RULES SRC_TAGS TARGET_TAGS > allow-mongo default tcp:27017 mongo-arbiter > # gcloud compute firewall-rules create allow-mongo-server --description > "Incoming mongo allowed." --source-tags=mongodb-1-server-1 --allow tcp:27017 > Created [allow-mongo-server]. > NAME NETWORK SRC_RANGES RULES SRC_TAGS > TARGET_TAGS > allow-mongo-server default tcp:27017 mongodb-server > > > Reset the database servers from the console. But still "telnet <ip> 27017" > does not seem to work. Can you please help? > > Thanks > -- You received this message because you are subscribed to the Google Groups "Google App Engine" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at https://groups.google.com/group/google-appengine. To view this discussion on the web visit https://groups.google.com/d/msgid/google-appengine/723d6a0c-26e9-4f4b-b981-873e37bdeb13%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
