Adobe 38043740 User Guide - Page 17

Using the built-in web server

Page 17 highlights

ADOBE COLDFUSION 8 13 Installing and Using ColdFusion Directory uninstall verity wwwroot Description Files to uninstall ColdFusion. Verity collections, configurations, and services directories. Default web root directory for the built-in web server. When running on other web servers, this directory contains only the WEB-INF directory; do not remove this directory. Using the built-in web server ColdFusion has its own web server that you can use to develop ColdFusion applications, without depending on an external web server, such as Internet Information Server (IIS), Apache, or SunONE. Adobe does not recommend using the built-in 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 installation, you must choose a web server. If you select the built-in web server, your web root directory is located in the cf_root/wwwroot directory. 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 appear, ensure that the document is located in the built-in web server's web root directory; for example, C:\ColdFusion8\wwwroot\YourApp1\index.cfm.) Note: If you install the server configuration of ColdFusion with the built-in server and port 8500 is in use, for example by ColdFusion MX, ColdFusion MX 6.1, or ColdFusion MX 7, the installer starts with port 8501 and looks at up to 100 ports to find one that is not being used by an application that is running. ColdFusion uses that port and displays a message to indicate which port it selected. If you select an external web server, the built-in web server is deactivated. Switching the port for the built-in web server You can change the port on which the built-in web server runs. Change the port for the built-in web server 1 Back up the jrun.xml file.

  • 1
  • 2
  • 3
  • 4
  • 5
  • 6
  • 7
  • 8
  • 9
  • 10
  • 11
  • 12
  • 13
  • 14
  • 15
  • 16
  • 17
  • 18
  • 19
  • 20
  • 21
  • 22
  • 23
  • 24
  • 25
  • 26
  • 27
  • 28
  • 29
  • 30
  • 31
  • 32
  • 33
  • 34
  • 35
  • 36
  • 37
  • 38
  • 39
  • 40
  • 41
  • 42
  • 43
  • 44
  • 45
  • 46
  • 47
  • 48
  • 49
  • 50
  • 51
  • 52
  • 53
  • 54
  • 55
  • 56
  • 57
  • 58
  • 59
  • 60
  • 61
  • 62
  • 63
  • 64
  • 65
  • 66
  • 67
  • 68
  • 69
  • 70
  • 71
  • 72
  • 73
  • 74
  • 75
  • 76
  • 77
  • 78
  • 79
  • 80
  • 81
  • 82
  • 83
  • 84
  • 85
  • 86
  • 87
  • 88
  • 89
  • 90
  • 91
  • 92
  • 93
  • 94
  • 95
  • 96
  • 97
  • 98
  • 99
  • 100
  • 101
  • 102
  • 103
  • 104
  • 105
  • 106
  • 107
  • 108
  • 109
  • 110
  • 111
  • 112

13
ADOBE COLDFUSION 8
Installing and Using ColdFusion
Using the built-in web server
ColdFusion has its own web server that you can use to develop ColdFusion applications, without depending on
an external web server, such as Internet Information Server (IIS), Apache, or SunONE. Adobe does not
recommend using the built-in 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 installation, you must choose a web server. If you select the built-in web server, your web
root directory is located in the
cf_root
/wwwroot directory. 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 appear, ensure that the document is located
in the built-in web server’s web root directory; for example, C:\ColdFusion8\wwwroot\YourApp1\index.cfm.)
Note:
If you install the server configuration of ColdFusion with the built-in server and port 8500 is in use, for example
by ColdFusion MX, ColdFusion MX 6.1, or ColdFusion MX 7, the installer starts with port 8501 and looks at up to
100 ports to find one that is not being used by an application that is running. ColdFusion uses that port and displays
a message to indicate which port it selected.
If you select an external web server, the built-in web server is deactivated.
Switching the port for the built-in web server
You can change the port on which the built-in web server runs.
Change the port for the built-in web server
1
Back up the jrun.xml file.
uninstall
Files to uninstall ColdFusion.
verity
Verity collections, configurations, and services directories.
wwwroot
Default web root directory for the built-in web server. When running on other web servers, this
directory contains only the WEB-INF directory; do not remove this directory.
Directory
Description