I tried to access the API of my payment gateway service provider from my server. But every time I am getting connection timeout. But the same API can be connected and accessed from my local machine.
These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.