[GeoNode-users] Running Geonode development build on another ip (!= localhost)

Alessio Fabiani alessio.fabiani at geo-solutions.it
Wed Jan 11 05:43:05 PST 2017


I also kindly suggest to read this in order to understand how GeoNode and
GeoServer communicate on the latest (2.5.6+) versions

http://docs.geonode.org/en/latest/tutorials/admin/geoserver_geonode_security/index.html



Best Regards,
Alessio Fabiani.

==
GeoServer Professional Services from the experts!
Visit http://goo.gl/it488V for more information.
==

Ing. Alessio Fabiani
@alfa7691
Founder/Technical Lead

GeoSolutions S.A.S.
Via di Montramito 3/A
55054  Massarosa (LU)
Italy
phone: +39 0584 962313
fax:     +39 0584 1660272
mob:   +39 331 6233686

http://www.geo-solutions.it
http://twitter.com/geosolutions_it

-------------------------------------------------------

*AVVERTENZE AI SENSI DEL D.Lgs. 196/2003*

Le informazioni contenute in questo messaggio di posta elettronica e/o
nel/i file/s allegato/i sono da considerarsi strettamente riservate. Il
loro utilizzo è consentito esclusivamente al destinatario del messaggio,
per le finalità indicate nel messaggio stesso. Qualora riceviate questo
messaggio senza esserne il destinatario, Vi preghiamo cortesemente di
darcene notizia via e-mail e di procedere alla distruzione del messaggio
stesso, cancellandolo dal Vostro sistema. Conservare il messaggio stesso,
divulgarlo anche in parte, distribuirlo ad altri soggetti, copiarlo, od
utilizzarlo per finalità diverse, costituisce comportamento contrario ai
principi dettati dal D.Lgs. 196/2003.



The information in this message and/or attachments, is intended solely for
the attention and use of the named addressee(s) and may be confidential or
proprietary in nature or covered by the provisions of privacy act
(Legislative Decree June, 30 2003, no.196 - Italy's New Data Protection
Code).Any use not in accord with its purpose, any disclosure, reproduction,
copying, distribution, or either dissemination, either whole or partial, is
strictly forbidden except previous formal approval of the named
addressee(s). If you are not the intended recipient, please contact
immediately the sender by telephone, fax or e-mail and delete the
information in this message that has been received in error. The sender
does not give any warranty or accept liability as the content, accuracy or
completeness of sent messages and accepts no responsibility  for changes
made after they were sent or for other risks which arise as a result of
e-mail transmission, viruses, etc.

---------------------------------------------------------------------

On Wed, Jan 11, 2017 at 2:41 PM, Francesco Bartoli <xbartolone at gmail.com>
wrote:

> 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
>
>
>
> _______________________________________________
> 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/df54a3a7/attachment.html>


More information about the geonode-users mailing list