I had the same problem and nothing seemed to fix the problem.
Then I realized that the only thing that changed was the IP... when I was connected by cable the camera had an IP and I could connect, when switching to wifi the camera had a different IP and I could not connect...
Then I changed the...