While the content is crawled that has references to the external resources, there will be an exception thrown. To avoid this, we need to disable the Loopback Check on the crawl/index server.
Please, refer to this page for disabling the loopback check.