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 of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In
Close

Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.