Self-inductance per unit length of solenoid is given as,
From the above equation we can see that, self inductance per unit length will depend on the permeability of free space (), number of turns per unit length (n) and area of the cross-section of the solenoid (A). All the above factors are constant at the centre and near any end of the solenoid therefore self inductance at both the points will be same.