It is at the mouth of the Endeavour River , on Cape York Peninsula in north Queensland . gaarr , ) is the northernmost town on the east coast of Australia , located at the mouth of the Endeavour River , on Cape York Peninsula in Far North Queensland .