We comment on a recent paper regarding the derivation of the magnetic field components of a solenoid in analytical form by proposing a different and simpler method