6 Replies Latest reply on Jul 20, 2007 1:25 PM by vishuchary

    Unable to connect to remote server

    vishuchary

      Hi,
      I've installed JBoss Application Server(4.2.1.GA) on "Mac OS X 10.4.8" machine. I see no issues/errors when I start the server using run.sh but if I try to connect from a browser using http://:8080 , it is unable to connect.

      I've tried to bind : ./run.sh -b
      & ./run.sh -b
      but of no help.

      I installed on some other mac machine and was able to access successfully. Not sure of the problem with the abv server.

      Can you please help me with some pointers? Your response is highly appreciated!

      Thanks,
      Chary

        • 1. Re: Unable to connect to remote server
          vishuchary

          I'm sorry for the missing text : It is

          http://servername:8080

          and
          ./run.sh -b servername
          & ./run.sh -b ipaddress

          • 2. Re: Unable to connect to remote server
            fredash

            Hi,

            I am developping on Mac OS X 10.4.10 with JBoss AS 4.0.5 GA and JBoss WS 1.2.0 installed. All is working flawlessly.

            I successfully start my server with this simple command line :
            ./run.sh -b 127.0.0.1

            If you continue with problems, you should look in the jboss.log file to see where the problem occurs.

            Fred.

            • 3. Re: Unable to connect to remote server
              vishuchary

              Thanks Fred,
              I dont see any error messages in server.log . The server starts without any issues but when I try from browser, the browser waits/tries for sometime and then results in "Problem loading page with
              The connection has timed out
              The server at xyz.corp.abc.com is taking too long to respond" message.

              As I said, It works well with a different mac machine. Did anyone come across this kind of issue or know of any solution?

              Thanks,
              Chary

              • 4. Re: Unable to connect to remote server
                vishuchary

                Looks like I found a solution . In case anyone else face this issue:

                If I change the ports in some 7600 range , I'm able to access remotely but if it is 8080 or any other port (other than 7600), it does not throw any exception but unable to connect (timeout) from browser.

                Does anyone know if the server has restricted the ports or if this is Jboss related? If server has restricted, why was jboss able to connect/run without any issue?

                Thanks in advance
                Chary

                • 5. Re: Unable to connect to remote server
                  fredash

                  Hello Chary,

                  Are you sure that the port 8080 is available in your Mac ?
                  Perhaps you will have another apps that is locking it ...

                  Just my 2 cents...

                  Fred.

                  • 6. Re: Unable to connect to remote server
                    vishuchary

                    Yes Fred,
                    None of the applications are running and I've checked with "netstat -a" also. While JBoss starts, it is successfully listening on port 8080 (as per log and netstat -a ) but when I try to access from browser, it never responds untill I changed to the 7600 range port.


                    Thanks,
                    Chary