If listen port is set to 0 then serverPort() returns the binded port