[Geoserver-users] Change Port from 8080 version 2.4.4

Hi,
New here.
I tried searching the archives but couldn’t find anything that worked - I have tried things mentioned.

So I have Geoserver 2.4.4 installed and would like to change the port from port 8080 to 8090
I found some references to changing the /etc/jetty.xml file.
I changed the port in there and restarted the geoserver using services (server is windows 2008).
However the new url on the server itself - http://localhost:8090/geoserver doesn’t seem to work.

Is there somewhere else I need to change this?

Thanks,

Jeremy

Dear Jeremy,
personal note, I would recommend using Tomcat in production and
deploying the GeoServer WAR to Tomcat rather than fiddling with the
prepackaged binary with Jetty.

Now, if you want to move forward with Jetty, I believe (I am not sure)
that the Windows installer might set the Port in the startup/service
script which would override the xml config.
I will test the installer and see if there is anyting obvious I don't
remember about the port.

Regards,
Simone Giannecchini

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

Ing. Simone Giannecchini
@simogeo
Founder/Director

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

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

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

On Tue, Jun 10, 2014 at 4:26 PM, Jeremy Malherbe
<jeremy@anonymised.com> wrote:

Hi,
New here.
I tried searching the archives but couldn't find anything that worked - I
have tried things mentioned.

So I have Geoserver 2.4.4 installed and would like to change the port from
port 8080 to 8090
I found some references to changing the /etc/jetty.xml file.
I changed the port in there and restarted the geoserver using services
(server is windows 2008).
However the new url on the server itself - http://localhost:8090/geoserver
doesn't seem to work.

Is there somewhere else I need to change this?

Thanks,

Jeremy

------------------------------------------------------------------------------
HPCC Systems Open Source Big Data Platform from LexisNexis Risk Solutions
Find What Matters Most in Your Big Data with HPCC Systems
Open Source. Fast. Scalable. Simple. Ideal for Dirty Data.
Leverages Graph Analysis for Fast Processing & Easy Data Exploration
http://p.sf.net/sfu/hpccsystems
_______________________________________________
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users

Jeremy,
Simone is correct, change the -Djetty.port=8080 entry to -Djetty.port=8090 in your bin/startup.bat file. I use jetty to run geoserver in an azure compute instance which runs behind load balancing and assigns ports dynamically. So, each instance that is created gets a different port number. My startup.bat uses the dynamically assigned port value to start jetty on the assigned port. That works for me, and I think it should be the entry you need to edit.
shamus

________________________________________
From: Simone Giannecchini [simone.giannecchini@anonymised.com]
Sent: Tuesday, June 10, 2014 10:14 AM
To: Jeremy Malherbe
Cc: geoserver-users
Subject: Re: [Geoserver-users] Change Port from 8080 version 2.4.4

Dear Jeremy,
personal note, I would recommend using Tomcat in production and
deploying the GeoServer WAR to Tomcat rather than fiddling with the
prepackaged binary with Jetty.

Now, if you want to move forward with Jetty, I believe (I am not sure)
that the Windows installer might set the Port in the startup/service
script which would override the xml config.
I will test the installer and see if there is anyting obvious I don't
remember about the port.

Regards,
Simone Giannecchini

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

Ing. Simone Giannecchini
@simogeo
Founder/Director

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

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

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

On Tue, Jun 10, 2014 at 4:26 PM, Jeremy Malherbe
<jeremy@anonymised.com> wrote:

Hi,
New here.
I tried searching the archives but couldn't find anything that worked - I
have tried things mentioned.

So I have Geoserver 2.4.4 installed and would like to change the port from
port 8080 to 8090
I found some references to changing the /etc/jetty.xml file.
I changed the port in there and restarted the geoserver using services
(server is windows 2008).
However the new url on the server itself - http://localhost:8090/geoserver
doesn't seem to work.

Is there somewhere else I need to change this?

Thanks,

Jeremy

------------------------------------------------------------------------------
HPCC Systems Open Source Big Data Platform from LexisNexis Risk Solutions
Find What Matters Most in Your Big Data with HPCC Systems
Open Source. Fast. Scalable. Simple. Ideal for Dirty Data.
Leverages Graph Analysis for Fast Processing & Easy Data Exploration
http://p.sf.net/sfu/hpccsystems
_______________________________________________
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users

------------------------------------------------------------------------------
HPCC Systems Open Source Big Data Platform from LexisNexis Risk Solutions
Find What Matters Most in Your Big Data with HPCC Systems
Open Source. Fast. Scalable. Simple. Ideal for Dirty Data.
Leverages Graph Analysis for Fast Processing & Easy Data Exploration
http://p.sf.net/sfu/hpccsystems
_______________________________________________
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users

Ciao,
I was about to suggest that (time permitting :slight_smile: ). Let us know if this helps.

Regards,
Simone Giannecchini

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

Ing. Simone Giannecchini
@simogeo
Founder/Director

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

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

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

On Tue, Jun 10, 2014 at 6:44 PM, Fuller, Shamus <sfuller@anonymised.com> wrote:

Jeremy,
Simone is correct, change the -Djetty.port=8080 entry to -Djetty.port=8090 in your bin/startup.bat file. I use jetty to run geoserver in an azure compute instance which runs behind load balancing and assigns ports dynamically. So, each instance that is created gets a different port number. My startup.bat uses the dynamically assigned port value to start jetty on the assigned port. That works for me, and I think it should be the entry you need to edit.
shamus

________________________________________
From: Simone Giannecchini [simone.giannecchini@anonymised.com]
Sent: Tuesday, June 10, 2014 10:14 AM
To: Jeremy Malherbe
Cc: geoserver-users
Subject: Re: [Geoserver-users] Change Port from 8080 version 2.4.4

Dear Jeremy,
personal note, I would recommend using Tomcat in production and
deploying the GeoServer WAR to Tomcat rather than fiddling with the
prepackaged binary with Jetty.

Now, if you want to move forward with Jetty, I believe (I am not sure)
that the Windows installer might set the Port in the startup/service
script which would override the xml config.
I will test the installer and see if there is anyting obvious I don't
remember about the port.

Regards,
Simone Giannecchini

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

Ing. Simone Giannecchini
@simogeo
Founder/Director

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

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

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

On Tue, Jun 10, 2014 at 4:26 PM, Jeremy Malherbe
<jeremy@anonymised.com> wrote:

Hi,
New here.
I tried searching the archives but couldn't find anything that worked - I
have tried things mentioned.

So I have Geoserver 2.4.4 installed and would like to change the port from
port 8080 to 8090
I found some references to changing the /etc/jetty.xml file.
I changed the port in there and restarted the geoserver using services
(server is windows 2008).
However the new url on the server itself - http://localhost:8090/geoserver
doesn't seem to work.

Is there somewhere else I need to change this?

Thanks,

Jeremy

------------------------------------------------------------------------------
HPCC Systems Open Source Big Data Platform from LexisNexis Risk Solutions
Find What Matters Most in Your Big Data with HPCC Systems
Open Source. Fast. Scalable. Simple. Ideal for Dirty Data.
Leverages Graph Analysis for Fast Processing & Easy Data Exploration
http://p.sf.net/sfu/hpccsystems
_______________________________________________
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users

------------------------------------------------------------------------------
HPCC Systems Open Source Big Data Platform from LexisNexis Risk Solutions
Find What Matters Most in Your Big Data with HPCC Systems
Open Source. Fast. Scalable. Simple. Ideal for Dirty Data.
Leverages Graph Analysis for Fast Processing & Easy Data Exploration
http://p.sf.net/sfu/hpccsystems
_______________________________________________
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users