There are, as you'll be aware, many towns in the UK that are not served by railways. Leigh for example, Gosport, Skelmersdale, Washington, Ashington, Portishead, Clevedon as others.
Do they necessarily need connecting to the railways? Let's look at Leigh for example, a reasonably sized town...