Fix console log for port