Test if port is present