Dear GeoNetwork Users:
I'm hoping one of you have encountered this problem in the past.
I've installed GeoNetwork v2.6.3 (default installation w/ jeeves on windows
server 2008r2)
I login to GeoNetwork.
Under Administration -> System Configuration -> Server -> Host: I've
replaced "localhost" for my static external IP and saved configuration.
However, I'm not able to browse:
http://{mystaticexternalip}:8080/geonetwork/
I can still browse:
<http://localhost:8080/geonetwork/> http://localhost:8080/geonetwork/
Anyone know how i can get it to respond with my static external IP?
I've read the manual and it says it has to be the firewall or reverseproxy
ip, but again, my IP is a public ip address and it's static, it should be
responding just fine.
I also have IIS running on port 80. I can browse my IIS sites fine using my
static external ip but not GeoNetwork.
From another computers I can see my IIS sites and telnet into port 80 but
not 8080.
Kind Regards,
Carlos Krefft
Carlos Krefft
Software Development Engineer
Center for Southeastern Tropical Advanced Remote Sensing (CSTARS)
University of Miami
11811 SW 168th Street
Miami, FL 33177
<mailto:ckrefft@anonymised.com> ckrefft@anonymised.com
Hi,
However, I'm not able to browse:
http://{mystaticexternalip}:8080/geonetwork/
My guess is that the IP configuration from the administration interface is
only meant to build some links correctly internally into GeoNetwork. If you
want your jetty instance to listen on other interfaces, you will probably
have to find for a file called jetty.xml (there is a one into
release/bin/jetty.xml). Edit it, then look for a configuration line like :
<Set name="host"><SystemProperty name="jetty.host"
default="localhost"/></Set>
Replace localhost by 0.0.0.0, then it should listen on every interfaces.
This could be configureable directly into the web/pom.xml, but since I'm not
a maven expert, maybe try to add this line into web/pom.xml ; look for :
<connector
implementation="org.mortbay.jetty.nio.SelectChannelConnector">
Then add a node like :
<host>[your external ip address]</host>
just before <port>8080</port>
It could depend on how you launch Jetty anyway ; maybe my second advice
would affect only when jetty is launched using maven (mvn jetty:run from
web/ subdirectory).
Hope that helps,
--
Pierre Mauduit
Camptocamp France SAS
Savoie Technolac, BP 352
73377 Le Bourget du Lac Cedex
Tel : + 33 (0)4 79 44 44 92
http://www.camptocamp.com
pierre.mauduit@anonymised.com
Thank you very much. I only had to change your first suggestion on the
jetty.xml and it now works as expected.
Thank you,
Carlos Krefft
From: Pierre Mauduit [mailto:pierre.mauduit@anonymised.com]
Sent: Friday, February 18, 2011 1:12 PM
To: Carlos Krefft
Cc: geonetwork-users@lists.sourceforge.net
Subject: Re: [GeoNetwork-users] Cannot connect to server host IP unless it's
localhost
Hi,
However, I'm not able to browse:
http://{mystaticexternalip}:8080/geonetwork/
<http://%7bmystaticexternalip%7d:8080/geonetwork/>
My guess is that the IP configuration from the administration interface is
only meant to build some links correctly internally into GeoNetwork. If you
want your jetty instance to listen on other interfaces, you will probably
have to find for a file called jetty.xml (there is a one into
release/bin/jetty.xml). Edit it, then look for a configuration line like :
<Set name="host"><SystemProperty name="jetty.host"
default="localhost"/></Set>
Replace localhost by 0.0.0.0, then it should listen on every interfaces.
This could be configureable directly into the web/pom.xml, but since I'm not
a maven expert, maybe try to add this line into web/pom.xml ; look for :
<connector
implementation="org.mortbay.jetty.nio.SelectChannelConnector">
Then add a node like :
<host>[your external ip address]</host>
just before <port>8080</port>
It could depend on how you launch Jetty anyway ; maybe my second advice
would affect only when jetty is launched using maven (mvn jetty:run from
web/ subdirectory).
Hope that helps,
--
Pierre Mauduit
Camptocamp France SAS
Savoie Technolac, BP 352
73377 Le Bourget du Lac Cedex
Tel : + 33 (0)4 79 44 44 92
http://www.camptocamp.com
pierre.mauduit@anonymised.com