php - API not resolving on own site

981

We have an API available. It's working fine for a number of apps and websites. Now I'm rebuilding our mobile site to utilize this API.

If I hit the API on our dev server from the mobile site, I get results.

But as soon as I'm in production, ish hits the fan. The curl call times out. Now if I try an external API, the curl call works just fine. But as soon as we plug in our API URL, nothing.

I'm not sure if I'm posting this in the right area, but I figured it's worth a shot. Any ideas on what is occurring?

People are also looking for solutions to the problem: PHP SELECT query giving wrong primary key result

Source

Didn't find the answer?

Our community is visited by hundreds of web development professionals every day. Ask your question and get a quick answer for free.

Ask a Question

Write quick answer

Do you know the answer to this question? Write a quick response to it. With your help, we will make our community stronger.

Similar questions

Find the answer in similar questions on our website.