noun
nationals and foreigners; Japanese and non-Japanese people
Refers to both Japanese people and foreigners collectively. Often used in contexts like international events, workplaces, or communities where both groups are present.
このイベントは内外人を問わず参加できます。
This event is open to both Japanese and non-Japanese people.
会社には内外人が協力して働いている。
Japanese and foreign employees work together at the company.
日本人 means 'Japanese person' only; 内外人 covers both Japanese and non-Japanese.
Compound of 内 (inside, here meaning 'domestic/Japanese') + 外 (outside, 'foreign') + 人 (person). The exact historical derivation is uncertain, but the word is formed from these elements to mean 'both domestic and foreign people'.