This is a preference I only advocate for people on a really limited budget and with a lot of time. General public transport is everywhere in Sri Lanka in the form of community buses and trains. It is usually really cheap, costing a lot less than two or three bucks https://rylanzrjar.nizarblog.com/28559685/the-smart-trick-of-cheap-hotels-in-galle-district-that-no-one-is-discussing