1 network interface, 2 IP addresses, add-on "Terminal & SSH"

Hello,
I want to use the add-on “Terminal & SSH”, in my virtual HA appliance.
It has 1 NIC, but the IP address I am connecting with using a browser, is different when I use the Terminal and enter ifconfig. Those 2 IP addresses are different. The web GUI has a 192.168.x.y address, the ifconfig has a 172.30.x.y address.
I completely don’t understand what’s wrong.
Can someone explain?
Kind regards,
Philip

It’s because the ifconfig shows you the docker container address of Home Assistant, that’s not the same as the address that you use to connect to Home Assistant. You should use the 192 address.

At the terminal you could also type ha network info to see your local network address for the computer.

There’s nothing wrong, all HAOS installations have that 172.30.x.y address.

Back again.
I succeeded in connecting to HAOS with PuTTY.

You have to add port 22. I think it is a little bit confusing. At the right side, I see 22, but you have to add it at the left side.

It works with password.