2

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?

2
  • Is Windows firewall configured to allow inbound traffic to port 80? Seems to me I remember that it blocks that port by default. Commented Oct 25, 2015 at 17:21
  • Yes, Windows firewall is configured to allow inbound traffic to port 80. I had already created that rule. Commented Oct 28, 2015 at 5:28

2 Answers 2

1

It seems the port 80 is already used by some other service. If you want to run your app in port 80 then shutdown already port 80 service and try again.

Sign up to request clarification or add additional context in comments.

Comments

1

Ports < 1024 usually require greater (admin) privileges; I am betting you're running as a normal/limited user.

1 Comment

No, I'm not running as a normal user,but I'm running as administrator of Windows Server 2008 R2 Standard

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.