[GeoNode-users] Running Geonode development build on another ip (!= localhost)
Francesco Bartoli
xbartolone at gmail.com
Wed Jan 11 05:41:27 PST 2017
Please go through this workshop for understanding the base settings to apply https://geobeyond.github.io/geonode-workshop/geopython2016/#/5
It uses vagrant and an old version but you can extract useful information as your case it’s just a matter of networking in your host machine
Hope this helps
Francesco
Il giorno 11/gen/2017, alle ore 14:17, Daniel Victoria <daniel.victoria at gmail.com> ha scritto:
> Seems that I'm almost there. Here is what I've got so far
>
> 1) in settings.py I changed the localhost reference to my static IP adress
> 2) started geoserver and backgrounded the process: `paver start -b 192.168.67.103:800 &`
> 3) started GeoNode and backgrounded de process: `python manage.py runserver 192.168.67.103:8000`
>
> I can get to geonode site anf to Geoserver from there. But it seems that GeoNode and GeoServer are not comunicating, since when I get to GeoServer, I'm not logged into - and can't login using the geonode admin password. Also, I cant upload spatial data (but can upload documents)
>
> Cheers
> Daniel
>
> On Wed, Jan 11, 2017 at 11:03 AM, Daniel Victoria <daniel.victoria at gmail.com> wrote:
> I get an error that it's not possible to connect to the address http://192.168.67.103/ or http://192.168.67.103:8000/
>
> But if I go to geoserver page on http://192.168.67.103:8080/geoserver and click on the geonode Icon, I get redirected to localhost:8000 (which does not work).
> I tryed both `paver start` and `paver start -b 192.168.67.103:8000`
>
> What did work was to issue `python manage.py runserver 192.168.67.103:8000`. With that I can get to GeoNode at the address but the link to Geoserver does not work because it looks for geoserver under localhost:8080
>
> Will changing the geoserver address in settings.py fix this?
>
> My setup is a bit strange because my virtualbox connects to the internet via a NAT interface and connetcs to my host computer using a host-only net interface
>
> Thanks
>
> On Wed, Jan 11, 2017 at 10:29 AM, Simone Dalmasso <simone.dalmasso at gmail.com> wrote:
> Sure you can, what error do you get, 404 or something else? You may need to add the forward rule in virtualbox to port 8000.
>
> 2017-01-11 12:45 GMT+01:00 Daniel Victoria <daniel.victoria at gmail.com>:
> I'm trying to setup the GeoNode development build following the instructions in https://github.com/GeoNode/geonode (using the ubuntu instructions - virtualevn; pip; paver). The catch is that I have a windows machine so I installed a Ubuntu server on a Virtualbox (just the server, no GUI).
>
> I can access the server running on the virtualbox through the IP 192.168.67.103
>
> After doing paver stat, I can get to geoserver through the IP 192.168.67.103:8080/geoserver
> However, I cannot get to geonode through the IP 192.168.67.103:8000
>
> Is it possible to run the GeoNode development build this way? With just a Ubuntu server install and access through an IP other than localhost?
>
> Cheers
> Daniel
>
> _______________________________________________
> geonode-users mailing list
> geonode-users at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/geonode-users
>
>
>
>
> --
> Simone
>
>
> _______________________________________________
> geonode-users mailing list
> geonode-users at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/geonode-users
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/geonode-users/attachments/20170111/9774a2e2/attachment-0001.html>
More information about the geonode-users
mailing list