Whatever message this page gives is out now! Go check it out!
| Deployment | Port |
|---|---|
| HTTP (standalone ColdFusion) | 8500 (Built-in web server, standalone default) |
| HTTPS (if SSL configured) | Built-in web server, SSL configured, 8501 (the built-in default port, not an HTTPS-specific RDS port) |
| JEE Deployment | Uses the web server port (80/443) with the /CFIDE path |
# Allow RDS HTTP from a trusted IP only
iptables -I INPUT -p tcp -s 192.168.1.100 --dport 8500 -j ACCEPT
# Allow RDS HTTPS from a trusted IP only
iptables -I INPUT -p tcp -s 192.168.1.100 --dport 8501 -j ACCEPT
# Allow from a local subnet (adjust as needed)
iptables -I INPUT -p tcp -s 192.168.1.0/24 --dport 8500 -j ACCEPT
iptables -I INPUT -p tcp -s 192.168.1.0/24 --dport 8501 -j ACCEPT
# Save rules
service iptables save# Allow RDS HTTP from a specific IP
New-NetFirewallRule -DisplayName "Allow RDS from Dev IP" `
-Direction Inbound -LocalPort 8500 -Protocol TCP `
-Action Allow -RemoteAddress 192.168.1.100
# Allow RDS HTTPS from a specific IP
New-NetFirewallRule -DisplayName "Allow RDS HTTPS from Dev IP" `
-Direction Inbound -LocalPort 8501 -Protocol TCP `
-Action Allow -RemoteAddress 192.168.1.100/**
* Check if RDS is enabled on the server
* Useful for deployment verification scripts
* NOTE: let this throw on failure — do not swallow errors into a "false" result,
* since that would misreport RDS as disabled when the check itself failed.
*/
function isRDSEnabled(required string adminPw) {
createObject("component", "cfide.adminapi.administrator").login(arguments.adminPw);
return createObject("component", "cfide.adminapi.security").getEnableRDS(); // returns true/false
}
// Usage in a deployment script
if (isRDSEnabled(adminPassword)) {
writeLog(file="deployment", type="error", text="SECURITY ALERT: RDS is enabled on production!");
// Fail deployment or send alert
}/**
* Enable or disable RDS programmatically
*/
createObject("component", "cfide.adminapi.administrator").login(adminPassword);
security = createObject("component", "cfide.adminapi.security");
security.setEnableRDS(false); // false = disable (production), true = enable (development)
security.setUseSingleRDSPassword(false); // false = keep RDS and Admin passwords separate (recommended)
security.setRDSPassword(newRdsPassword); // set/rotate the RDS password
// Related: enableRDSServlet() / disableRDSServlet() control the RDS servlet mapping itself