You can update the ports in your yaml configuration file: http: port: 9000 adminPort: 9001 See http://dropwizard.codahale.com/manual/core/#configuration-defaults for more information. EDIT If you‘ve migrated to Dropwizard 0.7.0 you can use the following: server: applicationConnectors: - type: http port: 9000 adminConnectors: - type: http port: 9001 |
时间: 2024-08-10 12:15:25