better error reporting on bind failure