@Test
    void testIpCanBeUsed() {
        final Collection<ServerPort> serverPorts = server.activePorts().values();
        for (ServerPort sp : serverPorts) {
            final InetAddress address = sp.localAddress().getAddress();
            if ("127.0.0.1".equals(address.getHostAddress())) {
                assertThat(address.isLoopbackAddress()).isTrue();
            } else {
                // Setting 0.0.0.0 at properties
                assertThat(address.isAnyLocalAddress()).isTrue();
            }
        }
    }
Tests for keeping the behavior of deprecated {@link Port#getIp()}.
spring/boot2-autoconfigure/src/test/java/com/linecorp/armeria/spring/DeprecatedIpTest.java