Web font in IIS: ERR_CONNECTION_RESET
If you are using a web font, including popular font icon fonts like Font Awesome then you may notice an error when loading your web font from an IIS server.
I received the error: ERR_CONNECTION_RESET and when inspecting the network request I see that the server responded with header
The reason for this is that the .woff and .woff2 file extensions do not have a defined MIME type in IIS.
WOFF MIME Types
Add in the necessary MIME types for your IIS web server is easy. We will add the following extensions and MIME types:
Add MIME Types in IIS
First, Open up the IIS Manager and select your site. Then, double-click on the MIME Types icon.
Then, click on the Add… link in the Actions pane. Enter the extension and MIME type for both .woff and .woff2.
Hi, I'm Brian. I am interested in TypeScript, Angular and Node.js. I'm married to my best friend Bonnie, I live in Denver and I ski (a lot).