At short distances nuclear force is attractive in nature.
The strong nuclear force between nucleons is attractive but short range; the Coulomb force between protons is long range, but repulsive.