Questions & Answers about Hei, folkens!
Mostly yes. Folkens sounds warm, casual, and conversational. It works well when speaking to friends, a class, coworkers in a relaxed setting, or an audience you want to sound friendly toward.
That said, Norwegian is often less formal than English, so hei itself is fine in many situations. The more informal part here is folkens.
The comma is there because folkens is direct address. The speaker says hei and then names the people being spoken to. English does the same thing in Hi, folks!
In very casual texting, people may leave the comma out, but in standard writing the comma is correct.