server/src/main/java/com/orientechnologies/orient/server/OClientConnectionManager.java
public OClientConnection getConnection(final String iAddress) {
    for (OClientConnection conn : connections.values()) {
      if (iAddress.equals(conn.getRemoteAddress()))
        return conn;
    }
    return null;
  }
public OClientConnection getConnection(final String iAddress) {
    for (OClientConnection conn : connections.values()) {
      if (iAddress.equals(conn.getRemoteAddress()))
        return conn;
    }
    return null;
  }
Retrieves the connection by address/port.

@param iAddress The address as string in the format address as format <ip>:<port>

@return The connection if any, otherwise null