'Send Request to a website in My PC local Host

I have a offline website installed on my localhost PC , I am using xampp with apache. I installed everything and I can access the website from browsers normally. But when I am trying to send any PHP POST or GET requests to this localhost from anywhere like PostMan or any other online website I got connection Refused Error. Also its happen with file_get_contents.

I don't have much experience in Windows firewall or apache configuration so I need advice for what can I do?



Solution 1:[1]

it was a CSF firewall error from the online server side. it was not allow me to send the requests outside the server without whitelisted the requested server :)

Thanks

Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source
Solution 1 Mina Ezeet