Where can I get a visa? Does it depend on the place where the passport is issued?

The consular section of the embassy is divided according to residence.

If you are a non-hukou, it is ok to study, live and work in other provinces for a long time.

Tips:

For example, if the applicant is registered in Beijing and has worked in Shanghai for a long time, he can make an appointment in Shanghai.

The embassy is not particularly strict now, about the consular district.