Apple diagnostics won't run
The thunderbold ports on my 17 month old MacBook Pro are all having issues, one doesn't work at all, so I thought I'd try running Apple Diagnostics. I followed the instructions at https://support.apple.com/en-us/HT202731, but it only gets to a screen with a globe and WiFi network name and (after a very long time) the message "support.apple.com/mac/startup -2002D" appears.
According to https://support.apple.com/en-us/HT204156, that means it's trying "to run macOS Recovery over the Internet, but couldn't".
Firstly, my internet works fine so I don't know why it can't connect. Secondly, I don't want to run macOS Recovery over the internet, I just want to run Apple Diagnostics locally.
How do I get my MacBook to run Apple Diagnositcs?
MacBook Pro 13″, OS X 10.11