Can not open Ardurino hosted website

So when I have my ardurino plugged into my pc and open the website it works... But if plug it into the wall it stops working... Any ideas?

Don't plug it into the wall.

if you were to post the code and more information such as documented here ➜ How to get the best out of this forum may be you'd get an even better recommendation, like may be removing the while(!Serial); that could be in the setup() function