In GeoServer, when I go to
Layer Preview/OpenLayers, I get a web page, but the HTML points to
localhost:8080 (instead of a relative path) for its WMS requests, so I can only see previews on the server itself.
Is there a way to change the template or format of the OpenLayers preview, preferably without having to recompile anything?
It looks like my question is being misunderstood, so I was probably not clear. Sorry about that.
Jetty indeed runs at port 8080, but that's fine.
The problem is that only with showing the OpenLayers preview.
localhost:8080, even when you access the page from another machine.
I can't find any template on disk (I expected to find some .xslt or .ftl somewhere).
I've reported this in the GeoServer issue tracker: https://jira.codehaus.org/browse/GEOS-4930