Any 90+% isopropyl alcohol should do the trick on the glass. I would hold the tube glass side down so liquid alcohol did not accidently run into the base and pool there. For the pins I think contact cleaner may be good too.
Enjoy,
TIC
Enjoy,
TIC
What's the best way to clean greasy tubes?