just guessing, but the tank is probably some sort of PE (polyethylene)
In my experience nothing much will stick to that. Usually welded or mechanically compressed gasket as far as I've seen in PE tank fittings
Looks like the fitting is ABS
https://www.etrailer.com/RV-Sewer/Va...RoCQyIQAvD_BwE
Sorry, I have no idea.... think I'd be looking searching youtube "abs fittings to RV waste tank" something like that....