Accessing HA via ip address

I have a really wierd one.

I have a micro PC i use for HA and I cannot access HA using the local IP address. I have had no issues until a few days ago.
I tried 4 or 5 different browsers to no avail. The message is the address can't be reached.
I can ping HA, no issue. I can access it via my phone, no problem although I think it is accessing it remotely via cloudflare. But only on my phone. When I try accessing using my desktop through cloudflare it fails as well.
I can access other devices on my network via IP with no issue.. It seems it's only HA that has the problem.
From the results I'm getting it seems like a DNS issue, but it's specific to the HA unit.
I re-booted the unit and it seems to be operating fine other than the access issue.
I was tinkering with my router but I did not change anything that would affect only one system.
My DNS's are set to public 8.8.8.8 and 8.8.4.4.
I flushed my local DNS, no luck.
I have a Synology NAS I access via IP with no problems. I Use RDP to access other devices with no issue.
I have tried accessing HA on 3 different desktops, 2 Window and 1 Linux. No luck so it does not look like a desktop i or browser issue.
This tells me there is something wrong with my local DNS, but what?
I have an ASUS RT-AX86U PRO router. I have 1 port forward to my NAS. No ther special settings.

I'm at a loss.
Any suggestions? Thanks

Rick

DNS resolves hostnames to IPs. If you can't reach your HA instance using the IP directly, then it's one of the rare cases where an issue is not caused by DNS.

If you can reach HA on your phone using cloudflare, then it suggests an internal network issue (maybe vlan) from when you were playing around in your router.

Unfortunately I can't help you any more than this based on the info you have provided. You're gonna have to retrace your steps & undo the changes on your router.

Hi Rick, welcome to the forum!

Does your HA have a static IP?
Share how you specifically access your HA.

I have a static IP on my HA device.
I access it by http://192.168.1.7:8123/lovelace/0 in the web browser.
Interesting that you should ask about the static IP because the few changes I made on my router were to assign static IP's to to other devices, which are working fine. I have not yet gotten to changing the HA IP as it would require additional changes to my mobile apps.
My alternative is to reset the router to factory and re-build it but I only want to do that if I am relatively sure that is the issue.

When you are "asign[ing] static IP addresses" are you reserving addresses in the DHCP server for specific MAC address or are just blocking those addresses from being assigned in the router and setting the device with a static IP address?

If you're doing the latter, I can see where problems could arise. And if you are, I'd recommend using the DHCP server to assign address.

  1. Make sure that is the right address!
  2. Make sure you use http:// and not httpS://
  3. Use without a subpage, so the root address without '/lovelace/0'

Accessing a device by IP address is not affected by DNS settings.
Which type of HA install are you running?

OK, wow, I found the issue!!!!

And thank you to each one who responded as you all made me think toward the right direction!

As I said, I was tinkering with my router changing some IP addresses. I changed my router subnet mask to 255.255.254.0 /23 a while ago in anticipation of moving some devices to new IP's. I changed my desktops to the new mask and they all worked fine, BUT.....
HA still had the old subnet mask of 255.255.255.0 so the new devices I moved to the new subnet mask could not access HA. I chnaged the mask and it works perfectly.
What a dope. I should have seen that. I was thrown off by everything else working. Even my NAS has the correct subnet mask that is why it worked fine.
Anyway, thak you all for great support. Each piece of advice pointed me toward the correct solution!

Rick

Hi, good that your problem got solved!

Also: please take the time to mark the post that holds the solution.
You do that by selecting the three dots under the post:

image

Then select the check box:

image
By doing so:

  • this thread can be useful to other users as well (this thread comes up as solution when starting a thread which is similar to yours).
  • this prevents that someone else steps in trying to help

Thanks for giving back to the community! :+1: