Micronaut Named HTTP Client Proxy Settings
Set proxy-type and proxy-address for the outgoing Netty service client, then check any explicit ProxySelector that takes precedence.
micronaut:
http:
services:
inventory:
proxy-type: HTTP
proxy-address: "proxy.example.net:8080"For Micronaut 4.10.7, merge these fields into the named Netty client configuration. They apply to @Client("inventory"); keep that client's destination URL settings.
The address is the intermediary host and port. For a named client calling a public service over an allowed public route, the HTTP proxy list provides candidates for those fields. For its account, use the common client configuration's proxy-username and proxy-password through the application's established configuration handling.
If the route remains different, inspect programmatic customization. An explicitly supplied ProxySelector takes precedence over HttpClientConfiguration's proxy-address and proxy-type fields.
These settings belong to the outgoing client. The Micronaut server's listening address or a proxy accepting incoming requests does not set this route.