Title: Running two instances of Orion on the same IP and port
This has nothing to do with Orion per se.  It's a fact of life that only one process at a time can bind to a port on a host.  For example, say you had Orion bound to port 25 along with your email server.  Who would try to handle SMTP requests to port 25?  Orion or the mail server?  The answer is whoever bound the port first.  And once a process has bound to a critical port (such as a Web server binding to port 80), it usually doesn't "let go" until the process is stopped.
 
Scott Stirling
West Newton, MA
-----Original Message-----
To: Orion-Interest
Subject: Running two instances of Orion on the same IP and port


Orioners,

Has anyone ever tried to run two instances of Orion on the same machine, IP and port.  What I am trying to do is have a second instance of Orion listen to only certain virtual hosts (headers) and the first pick up any unknown or blank headers.

The reason for us doing it this way is to have a test installation of Orion that will be restarted often and a second 'stable 'installation that will run some ancillary sites for our internal network.

I know that binding a second IP to the box and having the second Orion listen on that IP would probably work.  Is there an obvious reason that the way I am attempting always gives me an "Error starting HTTP server: Address already in use" error on the second instance?

thanx,

Larry

Reply via email to