Hi Jan
Could you please confirm you configured different host in your /home/omero/omero_dist/lib/python/omero/plugins/server.py:
- Code: Select all
def web(self, args):
(...)
django = ["python","manage.py","runserver","0.0.0.0:8000","--noreload"]+list(args)
and in /home/omero/omero_dist/etc/grid/templates.xml by adding after --noreload:
- Code: Select all
<server-template id="WebTemplate">
<parameter name="act" default="on-demand"/>
<server id="Web" exe="python" activation="${act}" pwd="${OMEROPY_HOME}omeroweb">
<option>manage.py</option>
<option>runserver</option>
<option>--noreload</option>
<option>10.0.0.1:8000</option><!-- your ip & port here -->
<env>${PYTHONPATH}</env>
<adapter name="WebAdapter" register-process="true" endpoints="tcp" server-lifetime="false"/>
</server>
</server-template>
Please be aware that OMERO platform includes a development server (a lightweight Web server written purely in Python), which is ideal for demonstrating/testing how powerful OMERO platform is. Unfortunately, this server is only designed to run in a local environment and could not deal with the pressures of a production mode of the application used by many people concurrently. For that, you need to deploy OMERO.web to a production-grade web server, such as Apache.
You will need
mod_python http://www.modpython.org/ module for
Apache http://httpd.apache.org/For more details how to run the OMERO.web in the production mode please follow the instruction on:
http://www.openmicroscopy.org.uk/site/s ... nstall-web Configuration Guide for mod_python (production) section.
Ola