I operate as a full time consultant (more like as a full time studio) and although getting my first clients was easy, I'm not having a roadblock on how to get new business. My clients are all happy and I've asked for referrals, and I'm sure they'll do without issue once they meet someone looking, but until then I'm not sure what to do...
You just have to reach out to people, you can't expect to sustainably rely on referrals for growth. Remember that your existing clients have no incentive at all to refer you to other people and in most cases are disincentivised from doing so. Instead use your success with your existing clients as social proof when approaching other companies in their niche: "we just delivered X, Y and Z to CompanyYouveHeardOf, let's talk" is a great way to open a conversation with those other companies.
In a similar boat - I have a couple of customers that generate repeated business more or less regularly, but have no idea how to generate more. My niche is very profitable but very small and not really based around where I live. I am also really lazy...
I'm tempted to give a spin to Linkedin premium features, or just exit the niche and sell myself as a regular coder.