Most likely a firewall issue. You could test some things with gp off / on.
Test-NetConnection -ComputerName "192.168.10.10" -Port 443 -InformationLevel "Detailed"
Test-NetConnection -ComputerName "www.somesite.com" -Port 443 -InformationLevel "Detailed"
--please don't forget to upvote
and Accept as answer
if the reply is helpful--