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

Browser connects on port 8080 instead of livereload custom port

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Critical Critical
    • 4.3.0.Beta2
    • 4.3.0.Alpha2
    • livereload
    • None

      When selecting a module and calling Show In>Web browser via LiveReload, the browser connects on the default HTTP port of the app server instead of connecting on the LiveReload custom port (something like 54321.

      Digging with curl, it seems that the URL used to connect does not contain a trailing '/' and in return, WildFly responds with a 302 response and a new location which passes through the 8080 port:

      curl -v http://192.168.0.10:55201/conferenceschedule
      * Hostname was NOT found in DNS cache
      *   Trying 192.168.0.10...
      * Connected to 192.168.0.10 (192.168.0.10) port 55201 (#0)
      > GET /conferenceschedule HTTP/1.1
      > User-Agent: curl/7.37.1
      > Host: 192.168.0.10:55201
      > Accept: */*
      >
      < HTTP/1.1 302 Found
      < Date: Wed, 17 Jun 2015 14:55:33 GMT
      < X-Powered-By: Undertow/1
      * Server WildFly/8 is not blacklisted
      < Server: WildFly/8
      < Location: http://192.168.59.103:8080/conferenceschedule/
      < Date: Wed, 17 Jun 2015 14:55:33 GMT
      < Content-Length: 0
      <
      * Connection #0 to host 192.168.0.10 left intact
      
      

              xcoulon@redhat.com Xavier Coulon
              xcoulon@redhat.com Xavier Coulon
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: