I agree the best is to replace as suggested. However, I had a leak in the hose itself, not at the connector and I did successfully use a field splice. I cut the hose at the leak and used a connector with a barbed inner fitting and bolt clamp-on outer piece. I had trouble getting the inner piece fully inserted in the hose but I got enough in to make it hold for several years now. Whether you can find a product to do what you need I don’t know.
I also have had good success using Blue Devil Hydraulic leak sealer to stop the oozing fluid from a couple of my cylinders. I used this solution successfully three months ago so can’t yet report on longevity.
Marvin (and Eileen) - Weekend RVer On A Budget
1997 34í Gas Bounder / F53 Chassis | Towing 1996 Ford Ranger on Acme Dolly