[jbosstools-issues] [JBoss JIRA] (JBIDE-18713) Browsersim is refusing to open pages on localhost - but will open the pages on 127.0.0.1

Len DiMaggio (JIRA) issues at jboss.org
Tue Oct 28 14:06:34 EDT 2014


    [ https://issues.jboss.org/browse/JBIDE-18713?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13015637#comment-13015637 ] 

Len DiMaggio commented on JBIDE-18713:
--------------------------------------

cat /etc/hosts
127.0.0.1	localhost.localdomain localhost ldimaggi.csb
::1         localhost localhost.localdomain localhost6 localhost6.localdomain6

cat /etc/resolv.conf 
# Generated by NetworkManager
domain redhat.com
search redhat.com home csb
nameserver 10.11.5.19
nameserver 10.5.30.160
nameserver 192.168.1.1


> Browsersim is refusing to open pages on localhost - but will open the pages on 127.0.0.1
> ----------------------------------------------------------------------------------------
>
>                 Key: JBIDE-18713
>                 URL: https://issues.jboss.org/browse/JBIDE-18713
>             Project: Tools (JBoss Tools)
>          Issue Type: Bug
>          Components: browsersim
>    Affects Versions: 4.2.0.Final
>         Environment: RHEL6
> Oracle JDK 1.7
>            Reporter: Len DiMaggio
>            Priority: Critical
>         Attachments: Screenshot-127-0-0-1.png, Screenshot-localhost.png, ticket-monster.war
>
>
> 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.



--
This message was sent by Atlassian JIRA
(v6.3.1#6329)


More information about the jbosstools-issues mailing list