Pass the port as an argument