support using an ip address rather than hostname