public SingleConsole getConsoleUsingPort(Integer port) {
		String currentIP = config.getCurrentIP();
		for (SingleConsole each : consoleInUse) {
			// Avoid to Klocwork error.
			if (each instanceof NullSingleConsole) {
				continue;
			}
			if (StringUtils.equals(each.getConsoleIP(), currentIP) && each.getConsolePort() == port) {
				return each;
			}
		}
		return new NullSingleConsole();
	}
Get the {@link SingleConsole} instance which is using the given port.

@param port port which the console is using
@return {@link SingleConsole} instance if found. Otherwise, {@link NullSingleConsole} instance.
ngrinder-controller/src/main/java/org/ngrinder/perftest/service/ConsoleManager.java