getters for IP and port