Ip addres from rasberry pi 4B does not work on laptop

The IP address that I get from the menu of the Raspberry Pi 4B, does not work in the search field on the laptop.I have tried several sd cards and have entered ipv4 and both urls, but I am unable to get in touch with Homessistant It says this site is not available.I have also turned off the firewall, but this has not worked. I am connected to the same network as the raspberry pi. Has anyone experienced the same thing?

What is the IP (most of the planet shares your IP range, it’s not sensitive)?

Is it in the same subnet as you laptop?

It was the subnet that was the problem.I had connected the laptop and the rasberry pi in different routers
Thanks!! :slight_smile: