The ball fell to Goodwin, who fired home. Scunthorpe could have added a second, with Spencer denying New Zealand international Dave Mulligan.
Andy Keogh had seen a first-half effort come crashing back off the bar.
Stockport had also gone close on several occasions, with Keith Briggs heading over and Tesfaye Bramble seeing a shot cleared off the line.