The answer to your question will require a review of state law, town ordinances, and then subdivision or HOA agreements, or perhaps a service hookup agreement with the town. If you cant do that yourself and a significant amount of money is involved, engage an attorney to help.
DISCLAIMER: The forgoing comment is for general educational purposes only, and is not legal advice upon which the reader may rely as the commenter has no actual knowledge of the facts of the case, has not interviewed persons or examined evidence, and has not researched the applicable law. The comment is based only on the facts provided, which are extremely limited, and may or may not be true. Complete defenses may prevent the success of any claim. Competent legal advice should always be obtained before taking any legal action or filing suit. Readers employ any information provided herein at their own risk.