Closed tejo93 closed 2 years ago
I wonder what your use case is with this config option in hoverfly java?
I have a docker container which has the hoverfly Java application running. I exposed the application port so it’s rest api can be called from outside. But I also want hoverfly dashboard and it’s proxy access outside like (8888 and 8500) . How can I do that with local configs?
@tejo93, there is a really useful config method which allows you to add any hoverfly flags not available through the JAVA API, eg.
localConfigs().addCommands("-listen-on-host", "0.0.0.0")
we should add this to the doc.
doc updated
I couldnt find a method to set listen-on-host ip in hoverfly java api. is there an alternative? please let me know.