revert to local ip and port