Error: Connection failed with API.php

For general discussion of the Poker Mavens software
Post Reply
barhoum
Posts: 5
Joined: Fri Jan 24, 2014 1:39 pm

Error: Connection failed with API.php

Post by barhoum »

Hi I have a problem with API.php file.. the return message is : Error: Connection failed!!
the api password is correct !!!
Enabble ap : yes ,in the system
help me plzzz , thnx a lot
Kent Briggs
Site Admin
Posts: 5880
Joined: Wed Mar 19, 2008 8:47 pm

Re: Error: Connection failed with API.php

Post by Kent Briggs »

Is your php script on a shared hosting site? If so, most likely your host has configured their firewall to block outgoing connections to certain ports (i.e., everything except port 80).
barhoum
Posts: 5
Joined: Fri Jan 24, 2014 1:39 pm

Re: Error: Connection failed with API.php

Post by barhoum »

thx for the reply
the form login.html work properly !!! so no problem with the port !!
What can I do?
Kent Briggs
Site Admin
Posts: 5880
Joined: Wed Mar 19, 2008 8:47 pm

Re: Error: Connection failed with API.php

Post by Kent Briggs »

barhoum wrote: the form login.html work properly !!! so no problem with the port !!
What can I do?
login.htm does not use php. Contact your host provider where the php is located and ask them to open outbound port 8087 (or whatever file port you are using) in their php/curl configuration. Make it clear that you are trying to connect to an external server and are being blocked by their outbound firewall. Otherwise, change your file port to 80 or 443 which are probably not being blocked.
barhoum
Posts: 5
Joined: Fri Jan 24, 2014 1:39 pm

Re: Error: Connection failed with API.php

Post by barhoum »

Thank youuuu :)
Post Reply