The connection was reset when creating a new node On a localhost environment, when I try to create a new node, I get this message:


  The connection was reset.


There is some issue with css, cache and/or registry since when I disable the css aggregation it works for the next node and it stops for the next node creating. In order to work again for a new node it needs enabling the Css aggregation and so on.

Also when I clear caches I get this kind of messages:


  The following module has moved within the file system: views_test. In order to fix this, clear caches or put the module back in its original location. For more [warning] information, see the documentation page. bootstrap.inc:1128


Any suggestions?
Thanks.
There are in fact two issues in your question. 

To solve The connection was reset issue, have you tried to run rebuild_registry ?

drush dl registry_rebuild-7.x
drush en registry_rebuild-7.x -y
drush cc drush
drush rr


Some people also reported that with Coder Module but not only, they had to edit httpd.conf, increasing the Apache stack size to 8MB

&lt;IfModule mpm_winnt_module&gt;
   ThreadStackSize 8388608
&lt;/IfModule&gt;


For the 2nd issue The following module has moved within the file system, this appeared since Drupal 7.50 release. A straight way to correct these errors is to use Module Missing Message Fixer. You'll find alternatives and full explanations in this DO post.