[frs-231] The Hostname in Request URL’s show “null” instead of the server name or IP address in ColdFusion 9

Due to an issue in the JRun version used with ColdFusion 9, the Hostname in Request URL's can sometimes contain the string "null" instead of the actual hostname.

Finished: 18:48:30.774 28-Sep-2009  200  11841  web-0  http://null:8500/test/test.cfm  0  Cur:(13%)67,809 Free:437,086

The problem occurs when a request is made against a port that is not the default port (e.g. 80) and the port number is not included in the HTTP Host header sent to the ColdFusion server by the web client. For example:


Some web clients incorrectly do not include the port number in the Host: header that is sent for the request. For example:

GET /test/test.jdbcfast.cfm HTTP/1.1
Host: server.yourdomain.com
User-Agent: Mozilla/4.0 (compatible; MSIE 4.01; Windows 98)
Accept: */*
Accept-Encoding: gzip, deflate
Accept-Language: en-us
Connection: Close

This problem has been confirmed for Microsoft Web Application Stress (which does not send the port number in the Host header), but other clients may suffer from the same bug.


To work around the issue you should use the default web port (e.g. 80), or use a different client that correctly sends the port number in the Host: header of HTTP requests.

A bug report has been submitted to Adobe for this issue.

Issue Details

Type: Technote
Issue Number: FRS-231
Components: Request Managment

Windows XP (Darren’s laptop)
ColdFusion GM2
Via internal webserver.

Resolution: Won’t Fix
Last Updated: 30/Sep/09 1:55 PM
Affects Version: 1.0, 2.0, 2.0.3, 2.0.4, 3.0, 3.0.1, 3.5
Fixed Version: Pending
Server: ColdFusion 9
Platform: Windows XP, Windows 2000, Windows 2003, Linux, MacOS, Solaris, Windows Vista, Windows x64, Windows 7, Windows 2008
Related Issues: