That is unfortunate, especially if you had to drive any distance to get there.
Was there a 'For Sale' sign in the front yard?
Was there a telephone number on the sign?
I do know some communities do not allow signage. I hope the calling option was available. Serious buyers tend to call.
Try working with an agent, they can almost always show a home, unless you are just "lookin" with no intention to buy.