Failed to Conect with home assistant

Hi everyone, I´m just try to connect to Home Assistant in the app but when I put the URL the app says that The request timed out.
Anyone could help me please.

Have you set api_password?
Are you using SSL/TLS or Docker ?
Have you elected to use a different port than default 8132?
Can you ping the IP address?
Is the address:port routable from your phone?

I don’t use the app, but those are some general networking debugging tips :slight_smile:

Hi fanuch, thanks for your help.
Have you set api_password? - No, I didn´t set any password
Are you using SSL/TLS or Docker ? - I really don´t know
Have you elected to use a different port than default 8132? - It´s the same port
Can you ping the IP address? - Yes, I can ping the IP
Is the address:port routable from your phone? - How can I do this?

So, as you see I don´t understand so much about networks. I´m just starting with my home automation Project, I´m working with arduinos and ESP-8266 and now I´d like to integrate everything.

Thanks for your hekp again.

If you open up Safari from your phone and type in the IP address of Home Assistant, does it look something like this?
http://x.x.x.x:8132 ?

It´s apear only the IP adress like this;
xxx.xxx.xx.x
and then can´t open the page.

I try in the phone and iPad.

So if you type in xxx.xxx.xx.x it fails on your phone?
What happens if you do xxx.xxx.xx.x:8132 on your phone?

So, I did try this, and nothing happen. I can´t reach Home Assistant page in the Safari

Are you sure you’re connected to WiFi?
Are you inside your network?
edit: How have you successfully been reaching Home Assistant. On the computer?

Yeah, I´m connected to WiFi, and inside my network, on my computer it´s normal

Very strange you can not access it on your phone but you can from your computer.
Where is home assistant hosted?

It hosted in this computer.

Firewall issue.

What operating system is the computer?

Windows 10.

let’s do a quick test:

Temporarily turn off your firewall by following the instructions on this YouTube video.
Then try going to http://xxx.xxx.xx.x:8132 on your phone.

I’ll bet that will work…

Let me know the result.

Ok, you win.
It´s work!!!
But now I have to keep my Firewall turned off?

1 Like

What do I win?!?!?! :smiley:

No my dude, you do not need to keep firewall off.
You simply need to make a rule to allow traffic in and out on port 8123.

First, follow the previous instructions to Enable Firewall

Found the instructions (funnily enough) from the same channel as before, here.
Choose Port
Choose TCP
Specific Port: 8123
Choose Allow the connection
Leave all networks ticked
Call it: Home Assistant Inbound Port Rule

You should only need an Inbound rule.
After making the rule, refresh the iPhone page with Home Assistant and see if you can click around and it it accessible still.

1 Like

No my friend, this time didn´t work

Do the same for an outbound rule and try again please!

Thanks dude.
It´s working.

You’re welcome. :thumbsup:

1 Like