I have a web application with two access methods:
http://server:22222/(default zone)http://server.host.com/(intranet zone)
This web application has a single SPSite with a single SPWeb. Accessing the site with http://server:22222/ works just fine. However, most pages on the site (all web part pages with a single web part on each) return the usual "An unexpected error has occurred." with http://server.host.com/.
Please note that I can get to the homepage as well as one or two of the web part pages, but not all. To me, this implies that there is some sort of coding error in the web part; however, the web parts work fine when accessed through the default zone.
What about these web parts would work through the default port but not the intranet AAM?