knacka på

Verb

 * 1) to knock on a door (to attract the attention of someone inside, to be let in or talk to or otherwise interact with them – usually the front door)

Usage notes
Just knacka is a bit less idiomatic for the case above, but not wrong per se.