Please update the autowired UriBuilderFactoryWebClient to support configuring the port of the base URL as was allowed with LocalHostWebClient.
Configuring the port is important for Spring Security applications because many tests will involve multiple servers with different ports being an important part of the assertions. For example, when using an Authorization Server the URLs that are redirected to will need to be the same as the Authorization Server's ports but must be different from the port of the OAuth Client.
Related spring-projects/spring-framework#35709