Home > Products > ColdFusion > Support > Advanced Development
ColdFusion Icon Macromedia ColdFusion Support Center - Advanced Development
Disabling the web server and setting its port number

By default, the built-in web server is enabled and responds to requests on port 8500. The file cf_root\runtime\servers\default\SERVER-INF\jrun.xml contains general settings for the built-in web server. The following excerpt is from that file:

<service class="jrun.servlet.http.WebService" name="WebService">
	<attribute name="port">8500</attribute>
	<attribute name="interface">*</attribute>
	<attribute name="deactivated">false</attribute>
	<attribute name="activeHandlerThreads">10</attribute>
	<attribute name="minHandlerThreads">20</attribute>
	<attribute name="threadWaitTimeout">300</attribute>

The following table describes the attributes that you can set.

Attribute Use

Specifies the port number of the web server.


Set to true to disable the web server. Set to false to enable it.

Before you disable the built-in web server, make sure you have ColdFusion configured to use another one. Otherwise, ColdFusion will not recognize any requests.

Do not modify the interface attribute. A future article on performance will describe how to set the activeHandlerThreads , minHandlerThreads , and threadWaitTimeout attributes.

To disable the web server or change its port number:

1 In a text editor, open the file cf_root\runtime\servers\default\SERVER-INF\jrun.xml.
2 Edit the port or deactivated attributes as necessary.
3 Save the file.
4 Restart the ColdFusion server.
To Table of Contents Back to Previous document Forward to next document