While accessing sandbox ,you are hitting ip 18.104.22.168:8000.
And with IP 127.0.0.1:8000, you are trying to access host m/c but here need to access VM .
So instated of using 127.0.0.1 use your VM IP address and then port 8000.
It worked for me.
Hoe it will work for you too.