Can travel history prevent me from joining the Navy, depending on what countries I've been to?

I'm 18 and I don't know if it's a dumb question, but a few months ago I was visiting family that lives in South-East Asia at the moment (I'm not Asian they just live there) While I was there I spent some of my savings visiting a couple cities in other countries nearby, like Vietnam.

I'm thinking of possibly enlisting but I'm just worried if I try to enlist that could look bad because it's a communist nation, but it's not like I'm planning on doing intelligence or anything, I just genuinely don't know how this stuff works and it's an irrational fear of mine before continuing any further. Thank you for any help 🙏