add ability to use local ip address