ad check for db port