Thanks @Tianyu Sun-MSFT for answering,
I checked ip, authentication, OS Version and firewall everything was ok but it still didn't deploy.
After this I changed the architecture from x64 to ARM64 and again x64 and finally worked.
The app had many many problems so I created a new fresh completely empty project. It didn't deploy untill I changed the architecture twice (x64 -> ARM64 -> x64) as before.
I've no clue what's happening.
Thanks again, bye