added a console log for the port number