Programmatically accessing allowed IP Addresses in Developer Edition (and understanding the limits)
Note: This blog post is from 2006. Some content may be outdated--though not necessarily. Same with links and subsequent comments from myself or others. Corrections are welcome, in the comments. And I may revise the content as necessary.Have you ever needed to know programmatically what IP addresses, besides localhost, ARE allowed to access your Developer Edition of ColdFusion? I'll show you how here.
I do wish there was a way to reset the allowed IP addresses in CF 7 without having to restart the server. But since the Developer Edition is free, I can't complain too much.
Some may know that there was a "devnet" edition that one could subscribe to in the CFMX 6.1 timeframe. That program is no more, which may explain why they bumped up the +1 to +2. Still, this free edition is NOT that testing edition. Sure, many will complain that this is CF's achilles heel, that there ought to be an edition better suited to central testing (at a cost, if not free), and others will argue that there should be an entirely free edition for production use.
Let me just head that off here, should anyone feel motivated to respond, by saying that I DO NOT want this entry to become a place where that subject is debated. It's been covered (and surely will continue to be covered) in plenty of other places. Discussing it here will serve no value, so I'd ask it be refrained from. This is not directed at you, Bruce, but rather at those who might read your and my comments and feel motivated to press the subject. :-)
Thank you so much for your help.
in other words, how do you inform CF that the 2 IP addresses you wish to use for the 2 remote developers are Dynamic and ever-changing without constantly having to restart the service when they change. i want to use my dns name instead, is this possible?
http://www.carehart....
http://www.carehart....
Does that answer your question, and any confusion you may have had in trying to find any such file? :-)
In other words, in CF9 and earlier, once 2 other IP addresses made requests against your CF developer edition, no other IPs could every make requests until CF was restarted.
In CF10 and above, instead, requests can be accepted from ANY IP addresses, but the "limiter" is that if requests from 2 IPs are already running, then any requests from any other IPs will be rejected (with an error similar to the above), at least until there are NOT concurrent requests from 2 or more IPs.
(Note that this is different from what Adobe announced with CF10, as I indicated in an update I offered in the post above. I'm hoping to find when things changed, either at initial release or per some update of 10. But I have confirmed things work as I say in this comment in the current CF10, 11, and 2016 that I have.)
Also, a request against localhost is always permitted.
I'll do an updated blog post at some point with more details/clarifications.