If you router has a built in switch then try the wired connections with an Ethernet cable. If you dont lose connection on those then your WAN connection to the ISP is obviously sound. It is then the wireless function on your router and it could be faulty. Swapping out could be the answer.