If you have installed the developer edition of ColdFusion on your local machine and chose to use the built-in web server you can change the port quite easily.  I had never even attempted this, as I kinda just accepted the fact that it was running on 8500, or 8300, or whatever…  If you chose to install ColdFusion using multi-server instances or J2EE it is as simple as logging into the ColdFusion administrator for the cfusion instance, select the "Instance Manager" from the Enterprise Manager drop-down, and edit the instance you want to alter the HTTP Port on.

However, if you chose the single-server option when installing ColdFusion developer edition, you do not have the ability to manage instances (since you don’t have multiple instances) or the port that the built-in web server runs on.  So, here is how you can change the port that the buil-in web server run on:

  1. Open the jrun.xml file that is located in the <install directory>\runtime\servers\coldfusion\SERVER-INF\ directory
  2. On line 350 (for CF8), change the port for the jrun.servlet.http.WebService to whatever port you want
  3. Restart ColdFusion service

Pretty easy once you find the right file… Thanks Mike!

This entry was posted on Friday, August 17th, 2007 at 2:30 pm.
Categories: Uncategorized.

No Comments, Comment or Ping

Reply to “Change port of built-in web server”