Port passed as variable to support multiple-instances monitoring