Odd that ‘localhost’ would resolve to a public IP instead of 127.0.0.1. Did you customize your hosts file?
The reason this is an issue with 127.0.0.1 alone is because 127.0.0.1 is the context (domain name) that mod_cfml is set to listen to in Tomcat. If you changed the default Tomcat host to ‘localhost’ and your context config to use the ‘localhost’ name instead of 127.0.0.1, things would function normally for you.
You do not need to remove mod_cfml, just change the default context associated with it.
example server.xml config:
<Engine name="Catalina" defaultHost="localhost">
<Host name="localhost" appBase="webapps"
unpackWARs="true" autoDeploy="true">
127.0.0.1 was replaced with ‘localhost’ in the above config.
Or, yeah, you could remove mod_cfml altogether and just do things manually.
-JM