public static Config getConfig(
            Configuration configuration, @Nullable HostAndPort externalAddress) {
        return getConfig(
                configuration,
                externalAddress,
                null,
                PekkoUtils.getForkJoinExecutorConfig(
                        ActorSystemBootstrapTools.getForkJoinExecutorConfiguration(configuration)));
    }
@Test
    void getConfigDefaultsToLocalHost() throws UnknownHostException {
        final Config config = PekkoUtils.getConfig(new Configuration(), new HostAndPort("", 0));

        final String hostname = config.getString("pekko.remote.classic.netty.tcp.hostname");

        assertThat(InetAddress.getByName(hostname).isLoopbackAddress()).isTrue();
    }