Hi Jesse,
You can set the (undocumented) environment variables CFPORT and CFRDSPORT
to configure the TCP socket port number that cfserver and cfrdsservice
listen on.
By default the ports are 7236 and 7237 (for RDS).
My birthday for those interested.
Make sure you set them both in the ColdFusion start script and
in the web server environment.
This is undocumented because it is unsupported.
Use at your own risk, etc, etc.
We only bind to localhost to provide similar security as the file system
socket.
If you want to contact cfserver from a remote host, you can run the 'cfdist'
program, which is documented, to enable network listening to relay requests
to the local CF server (via the file system socket).
Let us know how you do with this info!
--
Tom Jordahl
MacroMedia Server Development
-----Original Message-----
From: Jesse Erlbaum [mailto:[EMAIL PROTECTED]]
Sent: Friday, September 14, 2001 11:35 AM
To: CF-Linux
Subject: RE: Question regarding network sockets
Hi Justin --
> ColdFusions creates a communication pathway only to the
> webserver. When
> sticking with native Unix sockets for /tmp/cfserver then the
> only way you
> can get at it is being on the actual machine. If you enable TCP
> communication to the webserver then (according to the SP1
> release notes)
> it only binds to localhost.
Ahh... I had forgotten that CF only binds to localhost. How irritating.
My question is in following my pursuit of running concurrent CF instances on
a single UNIX box. I've not received back any communication from
Macromedia/Allaire regarding configuring the location of the UNIX socket, or
the port/IP address to which the network socket is bound.
-Jesse-
--
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
Jesse Erlbaum ....................... CTO
[EMAIL PROTECTED] ............. Vanguard Media
v: 212.242.5317 x115 ...... New York City
+-+-+-+-+-+- http://www.vm.com/ +-+-+-+-+-+-+
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Structure your ColdFusion code with Fusebox. Get the official book at
http://www.fusionauthority.com/bkinfo.cfm
------------------------------------------------------------------------------
Archives: http://www.mail-archive.com/cf-linux%40houseoffusion.com/
To Unsubscribe visit
http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/cf_linux or send a
message to [EMAIL PROTECTED] with 'unsubscribe' in the body.