Change port to a variable and output its value to the logs.