I created a virtual machine and installed WordPress in it and pushed it to Google cloud. It is up and running at www.mobilesoft.asia.
I installed WooCommerce plugin in it in order to create my shop. Then I added a payment module like Paypal to handle payment transactions. The problem is when I try to buy a product the payment button doesn't react.
I opened SSH Console and tried to curl the URL that is get called when I click on payment button but I saw I'm getting connection time out. These are commands I ran
hesam@bitnami-wordpress-xxx:~$ curl http://www.parspal.com
curl: (7) Failed to connect to www.parspal.com port 80: Connection timed out
hesam@bitnami-wordpress-xxx:~$ curl http://merchant.parspal.com/WebService.asmx?wsdl
curl: (7) Failed to connect to merchant.parspal.com port 80: Connection timed out
hesam@bitnami-wordpress-xxx:~$ curl https://merchant.parspal.com/WebService.asmx?wsdl
curl: (7) Failed to connect to merchant.parspal.com port 443: Connection timed out
Parspal (the company I'm using their payment service) is saying your host is not able to connect to our webservice. Is it possible? What might be the cause of the issue?
When I run above commands on my local terminal I'm able to get something while I'm not able via SSH to my virtual machine. Does something needs to be configured on my compute engine?
www.parspal.com
resolves to an IP address registered in Iran, and there are restrictions in place that prevent you from sending traffic to such addresses:
Google Cloud Engine - failed to curl a website locate in Iran from my VM instance