How to enable Fisheye/Crucible to listen to web requests on additional ports
The current solution is compatible with Fisheye versions up to 4.6.x which bundle Jetty library version 8.1.
Fisheye 4.7.0+ versions bundle Jetty library version 9.4, in which the settings below are incompatible.
This page covers how to enable your Fisheye/Crucible instance to listen to web requests on additional ports besides those specified in the Fisheye/Crucible user interface or in the
This can be used, for example, in the following use cases:
- create an unproxied application link
The web interface and
config.xml for Fisheye/Crucible will not allow the server to listen to web requests on multiple ports, the following steps show how to achieve this.
- Stop Fisheye/Crucible
Create a file named
<Fisheye installation directory>/content/WEB-INFwith the following content:
<?xml version="1.0" encoding="ISO-8859-1"?> <!DOCTYPE Configure PUBLIC "-//Mort Bay Consulting//DTD Configure//EN" "http://www.eclipse.org/jetty/configure.dtd" > <Configure class="org.eclipse.jetty.webapp.WebAppContext"> <Get name="server"> <Call name="addConnector"> <Arg> <New class="org.eclipse.jetty.server.nio.SelectChannelConnector"> <Set name="port"><Property name="jetty.port" default="8065"/></Set> </New> </Arg> </Call> </Get> </Configure>
8065should be replaced with the additional port you'd like to listen on. This port must not conflict with any other ports being used on the server or those already being used by Fisheye/Crucible.
- Start Fisheye/Crucible