x10Hosting blocks IP of my backend that holds idle PHP connections

MarcosFRGames

New Member
Messages
12
Reaction score
0
Points
1
My setup on JustRunMy.APP simply holds an open HTTP connection to my x10Hosting PHP script for as long as that script needs to finish processing external APIs. I have to do this because `ignore_user_abort` and `flush` are disabled on the hosting. Telegram already gets an instant response from JustRunMy.APP, so users don't wait. JustRunMy.APP then waits for the slow PHP response.

I've capped it to fewer than 5 concurrent connections to avoid consuming all PHP processes. The IP of JustRunMy.APP still gets automatically blocked. Please whitelist it so it can talk to my site without being flagged.
 

Eric S

Administrator
Staff member
Messages
1,441
Reaction score
244
Points
63
We would need the IP of the application itself as multi IP are used for that platform. You should have a dedicated API IP or similar provided to you that we can review the logs and whitelist as needed.
 

MarcosFRGames

New Member
Messages
12
Reaction score
0
Points
1
Hi there @Eric S
I finally found the IP I need whitelisted: 195.26.245.167
That's the outbound IP from my Cloudflare Worker.
But since I'm from Cuba and can't pay for a static IP, this might change someday. Would it be possible to whitelist based on a custom header instead? I could send a secret key in the headers from my Worker, like:
x-api-key: some-secret-value-here

That way it doesn't matter if the IP changes in the future, and it's actually more secure for both of us.
Let me know if that works for you. Thanks a lot!
 
Top