Page 1 of 1

CLOSED: Cannot connect remotely

PostPosted: Thu Jul 23, 2009 11:30 pm
by Steve
I am deploying an Omero server on Ubuntu 9 and I am having trouble connecting to the Omero server remotely. As a first step I am using the Django web server and I followed the install configuration steps. When I type "http://<my ip>:8000/webclient" the connection doesn't happen. On the remote machine I can connect with http://localhost:8000/webclient/. I noticed there was a section in the troubleshooting page about this problem and I followed the suggestions and added to the /etc/hosts file, but no change. I edited omero_dist/etc/grid/templates.xml and added to the WebTemplate section <option><my ip address>:8000</option>. My remote machine has port 8000 open. Any suggestions how to fix my problem?

Re: Cannot connect remotely

PostPosted: Fri Jul 24, 2009 1:16 pm
by atarkowska
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)


I hope it will help.

Re: Cannot connect remotely

PostPosted: Mon Jul 27, 2009 11:52 pm
by Steve
Thanks, that is exactly what I needed to get right.