My plugin needs to reach api.telegram.org

I have created a plugin for my website and was testing in pro free host but my plugin is unable to reach telegram API. It says: “Telegram IP: api.telegram.org, DNS FAILED - cannot resolve”.

My plugin needs to reach api.telegram.org on port 443 (HTTPS). The server cannot resolve the DNS. Please whitelist it.

Hi there,

Outbound connections to external APIs like api.telegram.org are restricted on free hosting plans and cannot be whitelisted on our end.

You would need to upgrade to a paid hosting plan that allows outbound HTTP/HTTPS connections to use Telegram’s API from your server.