Picture glance can't seem to access image hosted on local network

I’m trying to have HA load image from a local web server. http://192.168.X.Y:Z/foo.jpeg, but I don’t seem to be able to get it to load. I am able to access it on a computer/phone on the network, and wgetting the image works in terminal of the HA machine.

If I put in any publicly accessible image, it loads just fine. Do I need to put something in configuration to let it know that it can access a particular port at a particular server?

I’m running HaOS, with duckdns and SSL set up.