Victron connect app windows cant find device

I have been running my mini solar system for couple off years now running raspberry pi4 i have also been playing with windows 10 and 11 but have gone back to windows 10 victron connect app has been working fine on both windows versions but just recently when i run victron connect it is not finding my raspberry pi where as before it was ?.
if i do an ip scan of my network i can find the ip address of the raspberry pi then if i type the ip address into my browser i can connect also if i run the app and add the ip address under search it will connect.
Any suggestions why when i now run victron connect it is not automatically finding the ip address.
The raspberry pi is connected via wifi to my modem and my pc can run wifi to the modem but have it connected via ethernet port,any suggestion Thanks