Avoiding Port Collisions by Launching Multiple Quarkus Instances in DEV Mode 📎
quarkus:dev
) mode with a JAX-RS endpoint exposed, opens two ports: (http) 8080
and (debug) 5005
per default.
You will have to assign distinct ports for every new launched instance.
The http port is configurable in the application.properties
: quarkus.http.port=8282
or environment entries
(not suitable for our purpose), the debug port can be changed (-Ddebug=6000
)
or deactivated from the command line only: mvn compile -Ddebug=false quarkus:dev