Designing and Developing Database-driven Website using Cold Fusion
Application Server Technology
CF MX Web Server
Comments and any Enquiry related to this Project Welcome Here
Copyright © Abhishek Porwal, DA-IICT, Gandhinagar
Last Updated 4th September 2004

ColdFusion MX has its own web server that you can use to develop ColdFusion MX applications, without depending on an external web server, such as Internet Information Server (IIS), Apache, or iPlanet. Macromedia does not recommend using the ColdFusion MX web server in a production environment. However, it is more than suitable for development, allowing you to create virtual directories and set the default document (for example, default.cfm or index.cfm).
During the ColdFusion MX installation, you must choose a web server. If you select the Standalone server in Windows, or the Internal (Port Based) server in UNIX, then your web root directory is located in the ColdFusion MX application directory (the default is c:\CFusionMX\wwwroot for Windows and /opt/coldfusionmx/wwwroot for UNIX). By default, the web server runs on port 8500. This means that to display a page in your application, you must append :8500 to the host name or IP address in the URL; for example, http://localhost:8500/YourApp1/index.cfm. (If the page still does not display, make sure that the document is located in the ColdFusion MX web root directory; for example, c:\cfusionmx\wwwroot\MyApp.cfm.)
Switching the port for the ColdFusion MX web server

You can change the default port on which the ColdFusion MX web server runs. To change the default port for the ColdFusion MX web server:

1. Back up the jrun.xml file.
This file is in the cf_root\runtime\servers\default\SERVER-INF directory in Windows, and in the cf_root/runtime/servers/default/SERVER-INF directory in UNIX.
2. Open the original jrun.xml file for editing.
3. Change the port in the following node (near the bottom of the file):
<service class="jrun.servlet.http.WebService" name="WebService">
<attribute name="port">8500</attribute>
<attribute name="interface">*</attribute>
</service>
4. Save the file.
5. Restart ColdFusion MX.



PREFACE
ACKNOWLEDGEMENTS
CONTENTS
My Home Page
Reliance
My Home Page
Hosted by www.Geocities.ws

1