I am trying deploy a web application to tomcat7 via eclipse luna, but I am getting this error:
Uploading: http://localhost:8080/manager/text/deploy?path=%2Fl
(Re-)deploy with the Maven tomcat plugin failed for me too with a connection reset on the client and 403 status code in the localhost_access.log on Tomcat 8.5.30.
This Tomcat version's manager app has a RemoteAddrValve configured by default, restricting access to the /manager/* path to localhost. See $TOMCAT_HOME/webapps/manager/META-INF/context.xml.
It helped to turn on the logging to find the solution to this.