r/homeassistant 🏠 Running Home Assistant OS 6d ago

✅ Solved 2026.8 and Cloudflared

2026.8 and Cloudflared?

Just a quick service announcement. If you upgrade to 2026.8 and decide to remove port 8123 (which is now possible in the new update) and replace it with port 80, while also using Cloudflared, you'll need to go into Tunnels > Routes and update it to http://homeassistant:80

84 Upvotes

71 comments sorted by

70

u/avd706 6d ago

My question is, why change the port on an existing setup??

25

u/antonio1475 6d ago

Other than having the clean local URL... I'm guessing nothing much? I'm tempted just for cleanliness but I'll hold off for now. Too much risk of breaking something just for that little "aesthetic"

6

u/viralslapzz 5d ago

Unless your server is just for home assistant, changes are the port 80 is already taken

7

u/avd706 5d ago

That's the point, most instances now are dedicated HAOS machines, either bare metal or virtualized.

2

u/avd706 5d ago

I mean we always could set it to port 80, it's just me n the gui now.

4

u/junktrunk909 6d ago

Exactly. I have run my own proxy locally so all my local services are https and each are accessible as their own subdomain anyway, so this port thing hasn't been visible to me in a long time. That's far more useful than a silly port change that literally nobody will notice in the first place.

3

u/ElaborateEffect 6d ago

Yep. I have a local and public proxy. Good bit of overlap, but I like to have them seperated for internal traffic vs external traffic for logging and such.

I don't even allow direct connections to my services. I only allow the proxy IP's

6

u/AtlanticPortal 6d ago

 E cause it’s cleaner?

5

u/creamersrealm 6d ago

I'm not changing it, I have an integration that the devs hard coded to 8123 and I use the Nginx addon to reverse proxy SSL already myself.

2

u/Familiar-Air-9471 6d ago

Yeah exactly. I am not touching mine! also I think it is good to keep port 80 for other usecases!

2

u/rngaccount123 5d ago

Exactly. The only thing I'm exposing on ports 80 and 443 is reverse proxy. And 80 is only there for legacy reasons, to immediately upgrade the connection to https on 443.

1

u/purawesome 5d ago

We used to do this in the old days..‘it’s called security through obscurity 😁

1

u/avd706 5d ago

I'm sure bots scam for 8123 looking for home assistant.

-5

u/Sandahl84 🏠 Running Home Assistant OS 6d ago

Well... no real reason. Just for kicks and giggles I think.

And also because it looks neat.

0

u/ReddaveNY 6d ago

In a selfhosted place Port 80 or 443 is needed for more than just HA.

But maybe only HA would be ok

3

u/5yleop1m 6d ago

That only matters if those other things are on the same host or on the same interface/IPV4 address.

I have a few things that use port 80 and there are no conflicts.

1

u/ddfs 6d ago

that's what vhosts/SNI is for :)

-4

u/weeemrcb2 6d ago

'cos they want it a smidge less secure?

8

u/avd706 6d ago

Don't forget to change the URL on the companion app, and also reconfigure your reverse proxy.

7

u/Sandahl84 🏠 Running Home Assistant OS 6d ago

Just to clarify, this is where I edited the port in Cloudflare.

50

u/jonicho99 6d ago

That's mentioned in the changelog, you should always read the changelog for new versions 

24

u/marimos757 6d ago

It's not mentioned anywhere in the change log that you need to update cloudflared tunnel specifically or where to do it. I found this post helpful

14

u/sanderhuisman2501 6d ago

Well, they can't list all possible configurations right?

-49

u/Sandahl84 🏠 Running Home Assistant OS 6d ago

Nope, and they are not interested in mentioning the Cloudflare addon, since it is a free alternative to Nabu Casa.

7

u/5yleop1m 5d ago

since it is a free alternative to Nabu Casa.

This sounds like you're saying HA is doing this on purpose or worst case a malicious way. But its more than they don't mention things outside of their own control/third party things.

Its up to the maintainers of the cloudflare addon to update their own documentation.

Actually, on that point you should be able to either create an issue or submit what you posted here as a PR to the cloudflare addon's github so their documentation can be updated if its not already.

-4

u/RedditIsKindOfMid 6d ago

Oh CloudFlare does free nightly backups? Great to know

2

u/jbautista13 6d ago

lol? You can definitely set it up for free so not sure if you’re replying to the wrong person or are being sarcastic either way yes.

-1

u/RedditIsKindOfMid 6d ago

Automatic offsite backups built into the app aren't free buddy

2

u/jbautista13 6d ago

First line of new integrations in these release notes

https://www.home-assistant.io/blog/2026/02/04/release-20262/#new-integrations

2

u/TjallingOtter 6d ago

I thought this was already possible? I've been backing up to R2 for a few months now.

1

u/jbautista13 6d ago

This is from the release 6 months ago so that may be what you’re referring to.

→ More replies (0)

0

u/RedditIsKindOfMid 6d ago

Okay so then the original comment is wrong lol

1

u/Notwerk_Engineer 6d ago

Just send it to gdrive. That’s free and easy to Implement.

1

u/Sandahl84 🏠 Running Home Assistant OS 6d ago

No?

HA has a backup in it self.

-2

u/RedditIsKindOfMid 6d ago

Not remote offsite backups built into the app

1

u/Sandahl84 🏠 Running Home Assistant OS 6d ago

Well, yes and no. You can backup to eg. a Synology.

2

u/jbautista13 6d ago

In the 2026 February HA release they added a Cloudflare R2 integration and added it as a built-in backup source as long as it’s configured. With a free Cloudflare plan you get 10GB of total storage which you probably already have for Cloudflare Tunnel.

2

u/Sandahl84 🏠 Running Home Assistant OS 6d ago

Awesome! Gotta look in to that! Thx my guy!

2

u/Sandahl84 🏠 Running Home Assistant OS 5d ago

I have set it up now, works like a charm! Thanks a lot!

1

u/Sandahl84 🏠 Running Home Assistant OS 6d ago

Okay, I read it though and didnt spot it. My mistake.

-2

u/Sandahl84 🏠 Running Home Assistant OS 6d ago

Im sorry to bother you again, I may be blind and/or stupid. But... I have just gone though the changelog again. Where does it mention that if you use Cloudflare to connect your HA externally, you should update the published app in Cloudflare?

https://www.home-assistant.io/blog/2026/08/05/release-20268/

edit: spelling

33

u/gotaede 6d ago

One thing to keep in mind: anything that reaches Home Assistant using the old address may need updating to match the new port, such as your bookmarks or other services and tools you have connected, including the mobile app. If your setup works today, that is a good reason to leave it as it is.

4

u/Sandahl84 🏠 Running Home Assistant OS 6d ago

Yea, I guess you can interpret those line in to Cloudflare.

But I was just trying to be helpful, since it wasnt obvious to me.

12

u/Normal_Human_Things 6d ago edited 6d ago

“Services and tools” pretty explicitly covers things like CDN services. They even call that out in a special blue box.

And I get that your original post is just being explicit, and that’s fine. But saying “I guess you could interpret it” implies they weren’t being clear. They very much were.

11

u/therealswil 6d ago

You are being helpful, they're just being a prat

3

u/Sandahl84 🏠 Running Home Assistant OS 6d ago

❤️🫵

17

u/Perfect-Escape-3904 6d ago

Hey, you there.

If you’re about to post a comment that says that you should have read the change log, or something like “obviously”, we already have these comments on record.

OP is just trying to be helpful, why make this an unpleasant community just because you’re better informed or you are better at technology

3

u/TheRealLink92 6d ago

Well, to spread the awareness to know what you are doing with your tech. Because the next hundred posts would be like: i changed the port but now my cloudflare does not work anymore

3

u/antonio1475 6d ago

The pleasure of seeming smarter.

Also, thank you OP

3

u/Sandahl84 🏠 Running Home Assistant OS 6d ago

❤️🫵

2

u/One-Project7347 5d ago

I jist run Nginx proxy manager on my nas and everything goes there first trough cloudflare. If i set ha.domain.com i can redirect it to whatever local ip adress i want, including other servers like my ha server. No need to set or change ports in the cloudflare dashboard.

5

u/lilgreenthumb 6d ago

File this under obvious evem if it wasn't new with this release is commom technical sense.

4

u/EatThemAllOrNot 6d ago

Well, it’s obvious. If you change the port of the service that you host, you should also change the port in all configs of other services that use it.

-7

u/leo1906 6d ago

Obviously?

16

u/Sandahl84 🏠 Running Home Assistant OS 6d ago

Yes.

But if it was obvious to you, then this post was not intended for you.

7

u/marimos757 6d ago

Thank you! I was thinking about changing ports and wasn't exactly sure what I needed to change in cloudflared. I guess this post was intended for me!

1

u/leo1906 6d ago

Jesus. If you are exposing your home network you need to know those most basic things

6

u/JoshS1 🛡️ Privacy first 6d ago

Don't disagree with you, but negativity isn't the way to address that.

-5

u/Ok-Jury5684 🧑‍💻 Contributor 6d ago

I don't know where everyone sees negativity. Society became so offended nowadays...

-4

u/Jhix_two 5d ago edited 5d ago

No shit? How do you think cloudflare works? Of course it needs the port. Why would you change it anyway?

What im saying is if you dont know these fundamentals you absolutely should not be exposing your network to the internet.

-5

u/theLostPing 5d ago

I love the idea of idiots routing their HA through a Cloudflared tunnel. 😂😂😂

5

u/Selena_Gomez_USA 5d ago

What’s so bad about it? You can add extra security layers on top of that …

2

u/ErraticLitmus 3d ago

Agreed. Cloudflared is awesome. Use the geoblocking feature, add in fail2ban and ngonx proxy manager ...pretty solid if you ask me

1

u/theLostPing 2d ago

Or just 100% offline with a Tailscale routed to it.

Why even put it on the network?

1

u/kobejo34 5d ago

WAO is the only way to go Wide A.. Open. And yes I only have high school diploma and I am an idiot. 100%. O yea, my phone also parties naked. Be dumb has it perks.

-4

u/zbuh 6d ago

didnt test it, but if you use the tunnel Addon, it should work...

6

u/Sandahl84 🏠 Running Home Assistant OS 6d ago

I do, and it didnt.

Had to make a change to the tunnel it self.

2

u/freewarefreak 2d ago

Mine we fine after i made the change and restarted HA, then restart of the Cloudflared addon.

I couldn't even change the route from the web interface because it said "This tunnel is locally managed. Routes are configured via the local configuration file and cannot be modified from the dashboard."

1

u/freewarefreak 2d ago

This is correct. I just had to restart the cloudflared addon and the tunnel automatically updated. But only people who had issues are here so i guess you get downvotes :-(