Fix ip and port values