Why would inbound/outbound HTTPS requests to a payment gateway (secure.clickpay.com.sa) timeout from our Azure VM but work from local devices, despite confirmed NSG and firewall rules allowing the traffic?

Al Mokhlif Oud 0 Reputation points
2025-07-27T07:18:20.4666667+00:00

We’re experiencing a connection timeout whenever a client tries to complete a payment. When I run: curl -I https://secure.clickpay.com.sa from our server, there is no response—but the same command succeeds from my personal device or others. I’ve already confirmed that both inbound and outbound traffic rules on our server and in Azure are correctly configured.

We contacted ClickPay support and they confirmed that our IP address is not blocked on their end.

Could you please help us troubleshoot this issue?

It's worth noting that we have been successfully using the ClickPay gateway for an extended period without issues.

Azure Firewall
Azure Firewall
An Azure network security service that is used to protect Azure Virtual Network resources.
{count} votes

1 answer

Sort by: Most helpful
  1. Praveen Bandaru 6,850 Reputation points Microsoft External Staff Moderator
    2025-07-29T02:37:55.82+00:00

    Hello Al Mokhlif Oud

    I understand that you are experiencing a connection timeout issue when attempting to access the ClickPay gateway from your Azure VM.

    When I access the URL, it opens for me. If possible, could you let me know if you encounter the issue after entering the page, any specific path level it occurs?

    Please specify the Azure region where your VM is hosted. Also, can you confirm whether this issue is occurring in multiple regions or just a single region?

    • Please check that the DNS settings on your VM are properly configured. Incorrect DNS settings may stop the VM from resolving ClickPay’s address.
    • Please ensure that there are clear inbound and outbound rules permitting HTTPS traffic (port 443). This should cover both NSG rules at the subnet level and at the network interface level.
    • Please review the firewall settings on your Azure VM’s operating system. Even if the NSG rules are set up correctly, the internal OS firewall might still block outgoing or incoming connections.
    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.