Water Damage on Ceiling

I just moved into a townhouse with the washer/dryer on the second floor. When I connected the washer, I must not have tightened the connection well enough, because water was spraying out at the connection point. I turned the washer…