Grails
  1. Grails
  2. GRAILS-7531

Application is available only at localhost and not through the IP of the system

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Blocker Blocker
    • Resolution: Fixed
    • Affects Version/s: 1.4-M1
    • Fix Version/s: 2.0-M1
    • Component/s: None
    • Labels:

      Description

      I created a sample application. When I run the application, I am unable to access the application using "IP Address" instead of "localhost"

      That is, the app is accessible at http://localhost:8080/sampleApp but not at http://192.168.1.11:8090/sampleApp (tried from the same computer and other one in same network with no luck).

      Source attached.

        Activity

        Hide
        Ivan Dramaliev added a comment -

        Have you tried http://127.0.0.1:8080/sampleApp

        (Also, there appears to be a typo in your description – is the port in the IP-version of the URL really supposed to be 8090?)

        You might also want to check your router port settings to ensure port 8080 (or 8090) is not blocked.

        Show
        Ivan Dramaliev added a comment - Have you tried http://127.0.0.1:8080/sampleApp (Also, there appears to be a typo in your description – is the port in the IP-version of the URL really supposed to be 8090?) You might also want to check your router port settings to ensure port 8080 (or 8090) is not blocked.
        Hide
        Ronny Løvtangen added a comment -

        I had the same problem.

        Reasons you want to access an application from a different machine during development:

        • Test from mobile devices
        • Test from browsers on different OS (e.g. test with Internet Explorer on Windows, for developers running Linux or OS X)
        • Show your manager, designer etc current progress without needing to deploy somewhere.
        Show
        Ronny Løvtangen added a comment - I had the same problem. Reasons you want to access an application from a different machine during development: Test from mobile devices Test from browsers on different OS (e.g. test with Internet Explorer on Windows, for developers running Linux or OS X) Show your manager, designer etc current progress without needing to deploy somewhere.

          People

          • Assignee:
            Graeme Rocher
            Reporter:
            Bhagwat Kumar
          • Votes:
            5 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development