running geoserver from a different port ubuntu code example
Example: running geoserver from a different port ubuntu
Edit the line in start.ini (cd /usr/share/geoserver/) that says:
jetty.port=8080
Change it to your preferred port e.g.
jetty.port = 8585