June 30, 2022
Don’t forget the built in web server
Comments
(1)
June 30, 2022
Don’t forget the built in web server
Newbie 29 posts
Followers: 6 people
(1)

I was reading Mark’s CLI Installation blog post and remembered when I was testing ColdFusion 2021.  I was doing it on my desktop and I did not have a webserver on my machine.  Now I could’ve tested using CommandBox but I wanted to mirror how I would be installing on production so went with the Adobe developer edition and installing and configuring everything that way.  My goal was to catch any ColdFusion issues that might pop up in my code.  So I did not have a web server on my machine and didn’t want to go through the steps I would have to in order to get one on and around my work’s restrictions on my PC.

It is easy to forget sometimes that the ColdFusion installation comes with a Tomcat server built in.  It’s a quick easy way to test out some pages without going through all those extra steps.  To use it just go to your CF installation directory and then cfusion -> wwwroot.  Anything you put in there you can get to via http://127.0.0.1:8500.  This is assuming you have used the default ports.  It can come in handy so remember that it’s there.

And I did realize later that I wasn’t really mirroring how I would install on production since it does have a webserver and it is not Tomcat but luckily that didn’t end up being an issue.

1 Comment
2022-07-11 16:40:02
2022-07-11 16:40:02

One caveat that I forgot to point out but is definitely noteworthy is that case sensitivity matters when you are using the built in webserver.  If you, like me, are from a Windows world that can bite you if you aren’t ready for it.

Like
Add Comment