The nut broke off and had a small red ring/gasket between these connectors. I’m an noob but can follow instructions. Please give suggestions. Thanks
Below there is a water valve which may be used as an alternative if the above (cupper?) pipe is inconvenient to use.
You’re not wrong on that. Might be easier to get some new pipe and couple of fittings to make whole new line.