Does Gateway backup not store Web server port number?

oh yes that could be the reason.