I needed to change the port of Tomcat from 8080 to 80 so that I can execute my web app as http://localhost
. I followed already answered this question of stackoverflow.
As I started tomcat 7, it generates the following Exception:
SEVERE: Failed to initialize end point associated with ProtocolHandler ["http-apr-80"] java.lang.Exception: Socket bind failed: [730013] An attempt was made to access a socket in a way forbidden by its access permissions.
This is the problem. How to handle this exception in tomcat 7 in windows 7?