Cant connect to home assistant via local IP address

Im trying to add the Spotify media player integration. I went ahead and created my Spotify developer account, created my “app” and added my redirect URI’s.
I first tried adding my duck dns url (https://somthing.duckdns.org:8123/auth/external/callback) but it wasn’t working correctly because it tries to use the local IP address instead of the duckdns domain when I try to configure the Spotify integration.
So I then added my local ip address to the Spotify app URI (https://192.168.1.4:8123/auth/external/callback).
This still isn’t working though because as I have found out, my hassio controller gives me a no response error when I try to access it via the local ip address (https://192.168.1.4:8123).
I am able to access it via the duckdns url and via https://homeassistant.local:8123, it only gives me errors when trying to access via the IP address.
I have my hassio controller set up in my router with a static IP address.
Anyone able to give any advice?
Thanks.

First thing I would try is clearing browser cache because I have had issues with it and home assistant in the past.

Then confirm you can ping 192.168.1.4 if you cant something else is going on.

Also confirm when typing the URL in your browser while connecting locally its https:// and not http://… My address is http://192.168.xxx.x:8123.

Thanks for the reply, I can ping the ip as well as ssh into the controller. Ive emptied my cache a few times to be sure and still no luck.
I’m using safari and I have tried on both my Mac and my phone.
As I’m writing this, I just checked if its working via chrome and it does (should have tried that first). Can’t figure out why it won’t work on safari still though.

Yeah thats what mine would do. Safari acts goofy occasionally hanging onto some kind of weird cache. But in safari typically going to develop/empty caches and maybe followed by a full reboot usually fixes my issue.