ColdFusion & OS X / Unix Matt | 05 Dec 2007 11:16 pm
ColdFusion 8 JRun Interface for OS X VMware Fusion
I’ve got CF8 running in single server mode on my MacBook. I also recently installed VMware Fusion for virtual machine support. Running virtual machines creates separate lan networks on your system which can raise some networking issues with things like vpn’s and servers you may run that broadcast to all available ip addresses. JRun for running ColdFusion turned out to be one such problem server.
By default JRun tries to broadcast itself to all available ip addresses. You can verify your setup by checking your jrun.xml file around line 385.
<attribute name="deactivated">false</attribute>
<attribute name="interface">*</attribute>
<attribute name="port">51800</attribute>
That star tells jrun to broadcast itself to all ip addresses hooked up on the machine. I’ve even seen it crash trying to broadcast to a fake ip assigned to the firewire port (think that one’s an Apple bug).
Anyway, there’s really no need for most of us to broadcast to anything but 127.0.0.1, your localhost. So change that star to 127.0.0.1 so that the complete line reads:
<attribute name="interface">127.0.0.1</attribute>
Hopefully this will save you a headache, if not now than in the future if you start adding networks to your machine.









