Opening attachments in the visual editor gives network error on Windows

This desktop does not have direct internet access, but I am not sure why the internet access is a necessity here. The attachment is embedded/attached in the note, and is on the actual drive under the resources folder. This is not an external link to an external html website.

I am using Joplin 2.4.6 on Windows 10 The default browser is Edge