Single-acting hydraulic cylinder comprises of just one port whereas double-acting hydraulic cylinders include two ports.