2 Replies Latest reply on Jan 31, 2018 12:16 PM by Alx Reds

    Application Fail in HTTPS Connection, HTTP Work Fine

    Alx Reds Newbie

      Hello

      I am begin work with  jBoss

      Config applications with http and https connections

      with Connection http all is work good

      but when the connection is from https some applications no are working

      send in the Console message

      ERR_CONNECTION_REFUSED

      Any Help with this issue ?

        • 1. Re: Application Fail in HTTPS Connection, HTTP Work Fine
          Anup Dey Expert

          The error for following reasons:

           

          - If the website is down or temporary not working.

          - Problem with your Internet Connection

          - Website may be blocked by Firewall

          - Website may be blocked in System Host file

          - Either you are accessing website using proxy server

           

          The solution to eliminate ERR_CONNECTION_REFUSED error are

           

          - Check your internet connection and if its not working contact internet service provider

          - Open your firewall, check whether that website is blocked or not, if its blocked then remove it from block list.

          - Check whether the website access is been blocked in System host file.

           

          JBoss public interface is bound with localhost by default. in case that the only local machine can access it.

           

          You can pass your machine specific interface ip address by the following arguments for standalone.sh to access from remote machines.

           

          * -b <ip addr>

          * -Djboss.bind.address=<ip addr>

          Normally Jboss is started to listen in localhost (127.0.0.1). On your standalone.xml file you will find something like:

          <interface name="public"> <inet-address value="${jboss.bind.address:127.0.0.1}"/> </interface>

           

          So you can change your standalone.xml file replacing this 127.0.0.1 with 0.0.0.0, or you can edit (in your jboss/bin directory) standalone.conf.bat file and at some point add to your JAVA_OPTS the option -Djboss.bind.address=0.0.0.0, like:

           

          set "JAVA_OPTS=%JAVA_OPTS% -Djboss.bind.address=0.0.0.0"

          You can even add this property on the standalone.xml file.

          • 2. Re: Application Fail in HTTPS Connection, HTTP Work Fine
            Alx Reds Newbie

            Hello

            When i connect from http://domain.com  ALL is Working Fine

            But just connect to https://domain.com  The Login Work OK but when can use application send Error

            Internet Connections is Fine

            Thanks !!!!