Hoverfly takes a config object, which contains sensible defaults if not configured. Ports will be randomised to unused ones, which is useful on something like a CI server if you want to avoid port clashes. You can also set fixed port:


You can also configure Hoverfly to use a remote instance which is already running

config().useRemoteInstance() // localhost
config().useRemoteInstance("") // other host name or address