With 'at' I would expect 'Hanoi' to mean a station or airport. With 'in' I would expect 'Hanoi' to mean the city. You cannot use one preposition to mean both the station/airport and the city.
New words, one handy idiom, and a 2-minute quiz — delivered to your inbox to keep your streak alive.