Yes, your power supply may provide 45W overall, but each Pi USB Port is limited as to how much it can supply individually. Calculate the maximum amount your SSD and the associated USB Adapter will need and advise. How is your SSD connected to your Pi? Make and model of adapter please. Type of connection too, or cable type.
You also appear to have some networking issues. Scan till you are blue in the face, but if your Pi is not on the network, no scanner will be able to find the ports it needs to communicate. Are you connected directly to an Ethernet port from your Pi to the router, not WiFi? Is the cable plugged in correctly (wiggle the connectors a little to make sure), and a known working cable? Is the network port indicator blinking correctly? Have you allocated a static IP address to the Pi/HomeAssistant server on your router in the DHCP configuration page so you consistently have the same IP Address each time it attempts to connect (like 192.168.1.170 which your welcome screen was saying it was using). If you need to do this configuration, don’t forget to save it, bring everything down cleanly, then physically power off, and then restart it for the new configuration to work - your router, and all connected devices, including your HomeAssistant Pi.
Please advise the IP address of your router?
Please advise the IP address of your Pi?
Please advise the IP address of your NAS?
Do you have more than one router, switch, repeater, or hub on your network?
What type of device are you attempting to connect to the HomeAssistant server with the URLs in my previous post above? What browser is it using? What is the IP Address of that device? Is that the one where your port scanning was initiated from? The one you are able to SSH connect from? Is that device also able to connect to the Internetz?
Are you running any third party VM, VLAN, Anti-malware or anti-virus, or virtual networking software? DuckDNS, or similar?
What add-ons, integrations, and apps have you got running?
Sorry, the questions are basic, but systematically eliminating what is working and what is not. Trying everything you find in ChatGPT or Google search may lead you to do things that may be fatal and irreversible. The true problem will emerge soon. Once you solve the connectivity issue, the others should right themselves easily without a lot of CLI shenanigans that can have unwanted consequences.