update ip and port so it works when accessed on non-localhost server