Newport took a deserved lead through Shane McLoughlin’s 11th-minute penalty before Hakeeb Adelakun levelled from the spot after the half-hour mark.
The game at the Valley was settled with two first-half goals, putting the south London club one point off the play-offs.