Miletus was just south of Ephesus city. Paul had earlier decided that he would not get on a ship that would stop at Ephesus, because he did not want to spend several days in Asia province. If possible, he wanted to arrive in Jerusalem by the time of the Pentecost festival, and the time of that festival was near.