Changed to arguments. First argument is ip, second is port number.