Homeassistant refused to connect

Hi everyone, I installed HA on a generic x86-64 system but not able to connect it. I tried to acces HA using http://homeassistant:8123/ homeassistant.local:8123 and with IP address but the browser says “homeassistant refused to connect”. However http://homeassistant:4357/ works. I also ping the IP and ping goes. The system on which HA is install is connected to router using lan cable. please help.

Did you attach a monitor to the system ? What does the boot-up screen say ?