added port number display to console