Use 127.0.0.1 if local ip address