change the console.log(8888) to console.log(port)