hi kent,
i am trying to us your automate login (session key 3.php0 but i keep getting a (Connection failed Click Back Button to retry.)
autmated login
Re: autmated login
correction on my spelling, i am using (sessionkey3.php)
-
- Site Admin
- Posts: 5880
- Joined: Wed Mar 19, 2008 8:47 pm
Re: autmated login
Make sure you have the right URL and port set in the API.php file for your site. Otherwise, it could be your PHP host is blocking non-standard outbound ports. For example, if you are using the default 8087 file port, they might be blocking you trying to connect to anything other than the standard HTTP port (80). Check with them to make sure.
Re: autmated login
can i use another port rather than 8087?
if so what would the ideal port be?
if so what would the ideal port be?
-
- Site Admin
- Posts: 5880
- Joined: Wed Mar 19, 2008 8:47 pm
Re: autmated login
You can use any port from 1 to 65535. HTTP is port 80 so if you're not also running a web server you can use it. Or get your PHP host to open the port you want to use in their outbound firewall.antmar904 wrote:can i use another port rather than 8087?
if so what would the ideal port be?
Re: autmated login
is this also why none of the api's are working?
-
- Site Admin
- Posts: 5880
- Joined: Wed Mar 19, 2008 8:47 pm
Re: autmated login
Could be. It's the curl_exec() function in API.php that makes the call to your poker server. If that fails because it's being blocked, you'll see the Connection Failed message. You can confirm that it's not your poker server firewall by using your browser to make a simple API call. Something like:antmar904 wrote:is this also why none of the api's are working?
http://123.456.789.123:8087/api?Command ... PIPassword
Substitute in your actual poker server address and api password. If you get a Result=Ok back then the problem isn't with the poker server.
Re: autmated login
thank you here are the resulst:
Result=Ok
Logins=0
FilledSeats=0
OccupiedTables=0
UpSeconds=14467
UpTime=0 days 4 hrs 1 min
so the issue is with the website hosting side, they are blocking port 8087?
Result=Ok
Logins=0
FilledSeats=0
OccupiedTables=0
UpSeconds=14467
UpTime=0 days 4 hrs 1 min
so the issue is with the website hosting side, they are blocking port 8087?
-
- Site Admin
- Posts: 5880
- Joined: Wed Mar 19, 2008 8:47 pm
Re: autmated login
Looks like it, assuming you have the correct $url value set in your API.php file. Contact your ISP and see if they will open that port in your PHP configuration. Make it clear to them that it's an outbound port, not inbound. You are trying to pull data in from an external server. Otherwise, change your file port to 80, which is probably not blocked.antmar904 wrote:so the issue is with the website hosting side, they are blocking port 8087?
Re: autmated login
ok so i tried changing the port to port 80 in the api.php, port forwarding and on the server side AND using sessionkey.php then sessionkey3.php and they both came back with the connection failed but when i us the login.htm is works fine.