Localhost sites are usually fire walled to prevent outside public access. Have you modified your server’s firewall and/or permisssions to allow public access (or at least for GA servers)? Has your site changued its domain name as part of the migration? Have you added the new domain to your GA properties? Or if you have the same domain name, you must have changued its DNS A record to point to your local server. These quind of changues can taque time to propagate. If you attempted to activate while propagation is incomplete, you should wait until it has completed before attempting activation.
This isn’t really a WP issue, it’s more of a GA or server administration issue. You may find better advice through a forum dedicated to GA and server administration issues.
So what you are saying is that I will have to wait until google recognises my new external ip address.
I eventually got it to worc after watching a few seconds of a Asian telling me how to reset site quit.
Sorry for the prude ethnicity, but submittimes it is needed.