Uploaded image for project: 'Tools (JBoss Tools)'
  1. Tools (JBoss Tools)
  2. JBIDE-18713

Browsersim is refusing to open pages on localhost - but will open the pages on 127.0.0.1

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Cannot Reproduce
    • Icon: Major Major
    • 4.2.1.Final, 4.3.0.Alpha1
    • 4.2.0.Final
    • browsersim
    • None

      See the attached screenshots - I am seeing a consistent pattern where browsersim cannot open a URL that specifies localhost, such as:

      http://localhost:8080/ticket-monster/mobile.html

      But it is able to open a URL for the same page, if it specifies 127.0.0.1, such as:

      http://127.0.0.1:8080/ticket-monster/mobile.html

      See the attached screenshots.

        1. localhost.png
          290 kB
          Len DiMaggio
        2. Screenshot-127-0-0-1.png
          22 kB
          Len DiMaggio
        3. Screenshot-localhost.png
          16 kB
          Len DiMaggio
        4. ticket-monster.war
          455 kB
          Len DiMaggio

            ldimaggi@redhat.com Len DiMaggio
            ldimaggi@redhat.com Len DiMaggio
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: