Somewhere along the Ionian coast opposite Crete and the islands was a town of some sort, probably of the sort that we should call a village or hamlet with a wall. It was called Ilion but it came to be called Troy,
Troy isn't very close to Crete. It's opposite Samothrace I think.