Question

According to: https://github.com/iphoting/heroku-buildpack-php-tyler/issues/21

Cloudflare needs raw in-bound port 2408 into the dyno and it is still not possible with the new dyno networking model.

Anyone found a way? Any ideas?

Was it helpful?

Solution

You can always install and run Railgun on a separate machine (such as a cheap VPS), and then enable that Railgun on your site. You'd want to make sure that VPS with the Railgun on it is located close to wherever it is Heroku would host your origin for the least amount of latency from the VPS to your origin.

So with this setup it'd go:

client <--> Railgun on a VPS <--> Heroku origin

It won't be the perfect solution, and instead of getting 100% of the performance you'd like see something like 85% performance benefit.

It's not ideal, but it's at least an option. I have this kind of setup on several Heroku apps/sites I use. I have a VPS on Ramnode providing Railgun for these Heroku apps/sites:

https://request.canhazip.com/
https://ip.canhazip.com/
https://httpbin.canhazip.com/

p.s. I work at CloudFlare.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top