Register | Login

Go to the following directory jboss-eap-5.1/jboss-as/server/default/deploy/jbossweb.sar

1. edit the server.xml

2. uncomment the line

      <Connector protocol="HTTP/1.1" SSLEnabled="true"
           port="8443" address="${jboss.bind.address}"
           scheme="https" secure="true" clientAuth="false"
           keystorePass="rmi+ssl" sslProtocol = "TLS" />

This will enable the jboss to listen on port 8443 and the connection will be through SSL.

now u need to connect jboss using port 8443,

e.g. />

3. comment the line

      <Connector protocol="HTTP/1.1" port="8080" address="${jboss.bind.address}"
               connectionTimeout="20000" redirectPort="8443" />

This will block port 8080 being in listing mode.

Now all the request to port 8080 will fail

Who Voted for this Article, is a website that will allow everyone to share their knowledge, tip or information through community micro blogging.