Hello,

I changed the startup.bat to the following:

:run

  set PROXY_OPTS=-Dhttp.proxyHost=myproxy.mycompany.lan -Dhttp.proxyPort=8080

  if "%JAVA_OPTS%" == "" (set JAVA_OPTS=-XX:MaxPermSize=128m)
  set RUN_JAVA=%JAVA_HOME%\bin\java
  cd %GEOSERVER_HOME%
  echo Please wait while loading GeoServer...
  echo.
  "%RUN_JAVA%" "%JAVA_OPTS%" "%PROXY_OPTS%"  
-DGEOSERVER_DATA_DIR="%GEOSERVER_DATA_DIR%" -Djava.awt.headless=true 
-DSTOP.PORT=8079 -DSTOP.KEY=geoserver -jar start.jar
  cd bin
goto end

But I still get "connection refused" messages.


Yours RĂ¼diger




Von: [email protected] [mailto:[email protected]] Im Auftrag von Andrea 
Aime
Gesendet: Dienstag, 30. Juli 2013 12:25
An: Ian Turton
Cc: Gubler, Ruediger; [email protected]
Betreff: Re: [Geoserver-users] GeoServer behind a HTTP-Proxy

On Tue, Jul 30, 2013 at 12:12 PM, Ian Turton 
<[email protected]<mailto:[email protected]>> wrote:
Start up your server with -Dhttp.proxyHost=<proxyname> and 
-Dhttp.proxyPort=<proxyport> and it should all work fine.

Two different types of proxies, two different configurations.
Ian is giving you the solution for a forward proxy that GeoServer might needs 
to access the internet itself.
Christian is giving you directions for a reverse proxy that you might be using 
to expose GeoServer to the internet,
giving it a different hostname and path

Cheers
Andrea

--
==
Our support, Your Success! Visit http://opensdi.geo-solutions.it for more 
information.
==

Ing. Andrea Aime
@geowolf
Technical Lead

GeoSolutions S.A.S.
Via Poggio alle Viti 1187
55054  Massarosa (LU)
Italy
phone: +39 0584 962313
fax: +39 0584 1660272
mob: +39  339 8844549

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

-------------------------------------------------------
------------------------------------------------------------------------------
Get your SQL database under version control now!
Version control is standard for application code, but databases havent 
caught up. So what steps can you take to put your SQL databases under 
version control? Why should you start doing it? Read more to find out.
http://pubads.g.doubleclick.net/gampad/clk?id=49501711&iu=/4140/ostg.clktrk
_______________________________________________
Geoserver-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geoserver-users

Reply via email to