1

My server is centos with a static public ip, and the gcloud firewall and built-in firewall allow all permissions. And some usuall ports like 80, 443, 8888 are working normally, but some like 20715, 20000 are not. Im been working long on this but can not find out the problem. Can u help me?

2
  • Do you have any services listening on those ports? What does netstat say?
    – Mikael H
    Feb 20 at 11:26
  • sounds like you try to host a game server which in my point of View is not Business related question and is only supported by the superuser.com site, however ports cant be pinged but either reached or not, to find easy try lsof -i :20715
    – djdomi
    Feb 20 at 12:11
0

By default Google Cloud VPC Firewall does not allow all permissions. Did you change firewall rules to do it? You shouldn't. The correct way is to create a firewall rule that allows traffic on certain ports, in your case would be 20715 and 20000.

Running these commands inside the VM:

$ netstat -tlpn | grep 20715
$ netstat -tlpn | grep 20000 

Should tell you if there is any program running on these ports. Check similar post.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.