SELinux Blocks Tomcat 7 Service in RHEL 7

Solution Verified - Updated -

Issue

  • Trying to start Tomcat service in RHEL but it won't start.
  • SELinux denies name_bind access on the tcp_socket port 8082.

Environment

  • Red Hat Enterprise Linux (RHEL)
    • 7.4
  • Apache Tomcat
    • 7.0.76
  • selinux-policy-3.13.1-166

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content