When I went to disconnect the flush port connector so I could connect a hose and flush it, the 1/2 that is connected directly to the engine came off. I didn't feel a snap - it just came off.

It doesn't look like it is broken, but it doesn't just screw in either.. I took off the engine cover to see if there was a way to reach it from inside, but you can't reach the connector from the inside.
Any ideas how to fix it?

It doesn't look like it is broken, but it doesn't just screw in either.. I took off the engine cover to see if there was a way to reach it from inside, but you can't reach the connector from the inside.
Any ideas how to fix it?