How to disable unused HTTP (or AJP) port in JBoss?

Solution Verified - Updated -

Issue

  • All requests against our web application on JBoss are reached via Apache httpd/mod_jk(or mod_proxy_ajp). So we do not need a request port for HTTP but only for AJP. How to disable the HTTP port in JBoss?
  • We need all our traffic to come in over HTTPS on port 8443. How can we disable the HTTP 8080 port?
  • We do not need HTTPS; how can we disable port 8443?

Environment

  • JBoss Enterprise Application Platform (EAP)
    • 4.2
    • 4.3
    • 5.x
    • 6.x

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