I installed my geoServer as a service on port 8080. However, I need to use this port for some other service and have been trying to move it to port 7000 instead but I can't find a way to change the port number. I have tried to add in the option on startup.bat


and modified the jetty.xml file to

<Set name="port"><SystemProperty name="jetty.port" default="7000"/></Set>

But nothing seems to be working.


go to this link, hope it will be helpful: https://www.esdm.co.uk/how-to-change-the-port-for-geoserver-on-windows-with-jetty

We're looking for long answers that provide some explanation and context. Don't just give a one-line answer; explain why your answer is right, ideally with citations. Answers that don't include explanations may be removed.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.