API Connection Refused
Posted: Sat Aug 25, 2012 12:10 pm
Hello, we just bought PM Pro yesterday and have written Drupal modules to tie it into our existing site.
I'm using the example PHP files provided on this site and I am working with the SystemStats.php at the moment just to get the API working correctly.
Right now I get a perfect response if I cheat and type the URL and parameters into the address bar of a browser, but when using libcurl in code it fails with "Connection Refused" .. I have verfied libcurl seems to be working correctly otherwise and I'm at a loss as to where to look.
I have not modified any of the example code other than to input my own URL and API password.
Any suggestions would be awesome. Thank you!
I'm using the example PHP files provided on this site and I am working with the SystemStats.php at the moment just to get the API working correctly.
Right now I get a perfect response if I cheat and type the URL and parameters into the address bar of a browser, but when using libcurl in code it fails with "Connection Refused" .. I have verfied libcurl seems to be working correctly otherwise and I'm at a loss as to where to look.
I have not modified any of the example code other than to input my own URL and API password.
Any suggestions would be awesome. Thank you!