Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
  • 한국 커뮤니티
0

ColdFusion 2023 Standard Administrator not accessible on port 80?

Participant ,
May 03, 2024 May 03, 2024

I think I've seen the answer to this alluded to in a couple other posts, but nothing explicitly stated as such.  I'm installing ColdFusion 2023 Standard for the first time, and am unable to access the CF Admin except via the internal web server (http://127.0.0.1:8500/CFIDE/administrator/index.cfm on the server itself).  Even after adding the Virtual Directory to the correct path in IIS and uncommenting the /CFIDE/ line in uriworkermap.properties (as I've been doing on installs since CF2018), I still cannot open my admin via a "regular" URL (http://myhost.mydomain.com/cfide/administrator), even on the server itself much less from my connected workstation.  I get this message:

The requested URL was not found on this server!

If you entered the URL manually please check your spelling and try again.

Tomcat/ISAPI/isapi_redirector/1.2.46

 

Again, I've seen references to how Adobe has made it "harder" to open access to one's CF Admin via this path, but nothing explicitly saying you CAN'T do it anymore.  I know many consider it a security risk, but if it's still possible, I'd like to maintain that ease of access within our network (having to Remote Desktop to each server, wait for the desktop to load and then access the admin proves to be very inefficient).

 

Any definitive answers out there on this?  Thanks!

776
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines

correct answers 2 Correct answers

Participant , May 03, 2024 May 03, 2024

I should follow up here and say that I discovered I could still access the CF Admin from my workstation (or wherever) by simply adding port 8500 to the URL (http://myhost.mydomain.com:8500/cfide/administrator), and a similar fix works for RDS in both VS Code and Homesite+.  So that resolves my issue of not being able to access it without a Remote Desktop session, and leaves my question as just a point of curiosity - as we upgrade our other CF servers (all internal, not exposed to the internet),

...
Translate
Adobe Employee , May 03, 2024 May 03, 2024

@jarviswabi  You are right, this is an intended change due to a recent security issue. We are not allowing users to access CF admin via WebServer(IIS/Apache). I hope this answers your question. 

Translate
Participant ,
May 03, 2024 May 03, 2024

I should follow up here and say that I discovered I could still access the CF Admin from my workstation (or wherever) by simply adding port 8500 to the URL (http://myhost.mydomain.com:8500/cfide/administrator), and a similar fix works for RDS in both VS Code and Homesite+.  So that resolves my issue of not being able to access it without a Remote Desktop session, and leaves my question as just a point of curiosity - as we upgrade our other CF servers (all internal, not exposed to the internet), will I need to do the same thing?  Is port 80 forever blocked from carrying CFIDE traffic?

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Adobe Employee ,
May 03, 2024 May 03, 2024

@jarviswabi  You are right, this is an intended change due to a recent security issue. We are not allowing users to access CF admin via WebServer(IIS/Apache). I hope this answers your question. 

Thanks,
Priyank Shrivastava
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Explorer ,
Jan 15, 2025 Jan 15, 2025

I'm having the same issues trying to run CF admin under IIS. New install of CF 2023 and the latest security patches. I've done all the regular steps including commenting out this line from the uriworkermap.properties.

#!/CFIDE* = cfusion
Everything else seems to be fine. I have the /CFIDE and /jakarta mappings. Coldfusion is running and I can access it at http://127.0.0.1:8500/CFIDE/administrator/datasources/index.cfm.
 In IIS I have it running over a self signed SSL certificate. Just to check I also tried loading it over http and still has the same issue. I have the correct permissions I believe under CFIDE (IUSR;IIS_IUSRS with read permissions).
Loading the https://127.0.0.1:8083/CFIDE/administrator/index.cfm page on the server locally always returns:
The requested URL was not found on this server!

If you entered the URL manually please check your spelling and try again.

  Tomcat/ISAPI/isapi_redirector/1.2.46

 

I've rerun the web server configuration tool a few times and re-modified the uriworkermap.properties.

 
What's frustrating is I know this can still work. I setup a Dev server a few months back on ACF 2023 and got it working no problem through IIS. I'm comparing all the configuration files and at a loss. 
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Explorer ,
Jan 15, 2025 Jan 15, 2025

This is new. I didn't see this message before. The isapi_redirect.log file outputs this now. Literally says "

Blocking this uri: [/CFIDE/administrator/index.cfm] since its starting with cfide". Is this brand new? Haven't seen it mentioned in patches, but maybe I missed it. And again, I got this working on another server, which is confusing.
 
[Wed Jan 15 14:24:05.126 2025] [4240:6988] [info] jk_log_version::jk_connector_version.h (21😞 Connector Version: 330593
[Wed Jan 15 14:24:05.129 2025] [4240:6988] [info] init_jk::jk_isapi_plugin.c (3632😞 Starting Tomcat/ISAPI/isapi_redirector/1.2.46
[Wed Jan 15 14:24:05.136 2025] [4240:6988] [info] init_jk::jk_isapi_plugin.c (3870😞 Tomcat/ISAPI/isapi_redirector/1.2.46 initialized
[Wed Jan 15 14:24:05.136 2025] [4240:6816] [info] jk_connector_CF_func::jk_isapi_plugin.c (3130😞 CF heartbeat started
[Wed Jan 15 14:24:05.138 2025] [4240:6988] [warn] jk_check_path::jk_util.c (2476😞 Blocking this uri: [/CFIDE/administrator/index.cfm] since its starting with cfide
[Wed Jan 15 14:24:05.708 2025] [4240:6988] [warn] jk_check_path::jk_util.c (2476😞 Blocking this uri: [/CFIDE/administrator/index.cfm] since its starting with cfide
[Wed Jan 15 14:24:06.083 2025] [4240:6988] [warn] jk_check_path::jk_util.c (2476😞 Blocking this uri: [/CFIDE/administrator/index.cfm] since its starting with cfide
[Wed Jan 15 14:24:10.166 2025] [4240:6988] [warn] jk_check_path::jk_util.c (2476😞 Blocking this uri: [/CFIDE] since its starting with cfide
[Wed Jan 15 14:24:10.667 2025] [4240:6988] [warn] jk_check_path::jk_util.c (2476😞 Blocking this uri: [/CFIDE] since its starting with cfide
[Wed Jan 15 14:24:11.898 2025] [4240:6988] [warn] jk_check_path::jk_util.c (2476😞 Blocking this uri: [/CFIDE/administrator/index.cfm] since its starting with cfide
[Wed Jan 15 14:24:12.386 2025] [4240:6988] [warn] jk_check_path::jk_util.c (2476😞 Blocking this uri: [/CFIDE/administrator/index.cfm] since its starting with cfide
[Wed Jan 15 14:42:10.667 2025] [4240:6988] [warn] jk_check_path::jk_util.c (2476😞 Blocking this uri: [/CFIDE/administrator/index.cfm] since its starting with cfide
[Wed Jan 15 14:42:11.527 2025] [4240:6988] [warn] jk_check_path::jk_util.c (2476😞 Blocking this uri: [/CFIDE/administrator/index.cfm] since its starting with cfide
[Wed Jan 15 14:42:11.971 2025] [4240:6988] [warn] jk_check_path::jk_util.c (2476😞 Blocking this uri: [/CFIDE/administrator/index.cfm] since its starting with cfide
[Wed Jan 15 14:42:13.463 2025] [4240:6988] [warn] jk_check_path::jk_util.c (2476😞 Blocking this uri: [/CFIDE/administrator/index.cfm] since its starting with cfide
[Wed Jan 15 14:49:52.785 2025] [4240:7024] [info] TerminateFilter::jk_isapi_plugin.c (2839😞 Tomcat/ISAPI/isapi_redirector/1.2.46 stopping
[Wed Jan 15 14:49:52.959 2025] [4240:7024] [info] TerminateFilter::jk_isapi_plugin.c (2873😞 CF heartbeat stopped
[Wed Jan 15 14:51:14.546 2025] [4240:6988] [info] jk_log_version::jk_connector_version.h (21😞 Connector Version: 330593
[Wed Jan 15 14:51:14.548 2025] [4240:6988] [info] init_jk::jk_isapi_plugin.c (3632😞 Starting Tomcat/ISAPI/isapi_redirector/1.2.46
[Wed Jan 15 14:51:14.553 2025] [4240:6988] [info] init_jk::jk_isapi_plugin.c (3870😞 Tomcat/ISAPI/isapi_redirector/1.2.46 initialized
[Wed Jan 15 14:51:14.553 2025] [4240:8324] [info] jk_connector_CF_func::jk_isapi_plugin.c (3130😞 CF heartbeat started
[Wed Jan 15 14:51:14.555 2025] [4240:6988] [warn] jk_check_path::jk_util.c (2476😞 Blocking this uri: [/CFIDE] since its starting with cfide
[Wed Jan 15 14:51:16.499 2025] [4240:6988] [warn] jk_check_path::jk_util.c (2476😞 Blocking this uri: [/CFIDE/administrator/index.cfm] since its starting with cfide
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Explorer ,
Jan 15, 2025 Jan 15, 2025

I double checked that this is still commented out.

#!/CFIDE* = cfusion
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Jan 15, 2025 Jan 15, 2025

[removed by me. I was clarifying something about the threaded interface, which ended up not being necessary. Sadly, we can't just delete a comment we may make...or at least, I could not.]

 

See what I wrote below, which was actually written BEFORE this one. The threaded interface can throw us all off sometimes!


/Charlie (troubleshooter, carehart. org)
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Jan 15, 2025 Jan 15, 2025

Michael, this is not "new", and you can no longer workaround the issue with those tweaks that you (and others) have long used. Let me elaborate.

 

The change in behavior was implemented by Adobe starting with the CF updates released in Oct 2023 (cf2023 update 5, cf2021 update 11). So what's "new" for you must be that either a) you applied a more recent CF update than that sometimes since then and then you ran the wsconfig tool to either a) add a new connector or b) did a wsconfig "upgrade" operation on an existing connector. Either of those would have used the updated wsconfig (for the newer CF update) to upgrade your connector.

 

And THAT is when this "failure" would have started for you. If you will somehow disagree/contend, we can dig in further to prove things of course.  But perhaps hearing the above will at least clarify how this came to be "new" for you.

 

As for the change (in Oct 2023), it was discussed above as well (in May) as being a security protection Adobe has implemented. And it's listed in the technotes for those CF updates from Oct 2023 with a box reporting: "In this update, for security reasons, the access to the Administrator to the connector port is blocked." Not great or clear wording, but that's what happened.

 

So what can you do? Well, as others above noted, they just stopped trying to access the CF Admin via a site in IIS or Apache (which was configured with this CF web connector). Instead they used the CF Built-in web server (by default at port 8500), which has been enabled in CF by default since CF2016.

 

I realize that some complain "I can't get to the server to run via that web server", but some can configure their firewall to allow access to that port from off the server, and then you may also need to tweak the CF Admin security page for "security>allowed ip addresses" to add your ip address to the second list of IPs, which controls who can access the CF Admin. (This is not to be confused with the CF Admin "debug output>allowed ip addresses".)

 

Some don't want to "have to do such tweaking to the CF Admin" or "don't have a statici ip addresss". In that case, I hope they would have taken efforts to limit in their web server configuration who COULD get to the CF Admin  when it COULD be reached via IIS or Apache. And they may say "that's what I want to still be able to do".

 

Some people in desparation have resorted to finding the old isapi_redirect.dll (or mod_jk.so for Apache) from a server where they have NOT yet updated the connector, to put THAT into their config/wsconfig/ numbered folder for their connectors, to "force" CF to use the old connector. (You'd need to restart IIS or the site or app pool for that change to be picked up.) Beware that a future connector upgrade or new connector will again implement the new dll. Again, I hope that you'd also protect access to that ability to use the CF Admin, whether via the web server implementing protections and/or using the CF admin "security>allowed ips" discussed above.

 

Others have changed to using their web server to instead port forward to the CF built-in web server. In IIS, you'd need to enable the Application Request Routing/ARR (or "web farm") capability, to be able to setup such a forward. Apache people will find it easier, as will those using nginx or proxies like Traefik, ATS, etc. All these would circumvent using the "connector" which uses Tomcat's "ajp" port (which was the "port" being referred to in that quote from the technote I offered above).

 

All this is exposing you to vulnerabilities that Adobe has for years trying to protect you from. You have to be very careful. But I get it: people want to do what they want to do. These are among the options to do that. But again, it's not "new": it's something people trip over if/when they update CF and/or update or add new connectors using wsconfig.

 

Hope that helps.


/Charlie (troubleshooter, carehart. org)
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Explorer ,
Jan 15, 2025 Jan 15, 2025

Thank your Charlie. I keep up with the updates of course, but I guess I haven't upgraded the connector in a while, as it wasn't needed. What keeps throwing me off is I did a brand new install of CF 2023 about 2 months ago and I didn't have any issues setting it up through IIS.  I have no idea what I might have done differently. Maybe I had an old install file and didn't upgrade the connector after patches, etc.  I guess that was the main confusion for me. And I had known that they were locking it down, but I still thought commenting out the #!/CFIDE* = cfusion line was still in play. 

 

I always limited access down to just a few IP addresses via the firewall and also in IIS. I'll have to RDP into the server from now on.  I guess I'll survive ha..

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Jan 15, 2025 Jan 15, 2025
LATEST

Glad to help. First, again yes, the change would have been from creating or updating a connector after that Oct '23 update.

 

But, second no, you don't "have to" RDP to access the admin. I offered multiple alternatives. There are still others. I can help anyone interested in choosing among and getting any of them working. More on my rates, approach, satisfaction guarantee, online calendar and more at carehart.org/consulting. 


/Charlie (troubleshooter, carehart. org)
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Resources