These ports can be redefined via config.yml so use the values from the file to check. Change-Id: If6c28a29d2bcd887efff8308019090f0c980f58f