[jboss-jira] [JBoss JIRA] Commented: (AS7-1624) 302 redirect from :8080/console uses IPv6

Ondrej Zizka (JIRA) jira-events at lists.jboss.org
Mon Aug 22 16:08:17 EDT 2011


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

Ondrej Zizka commented on AS7-1624:
-----------------------------------

I tried to reproduce on my localhost, which I have more under control than that virtualized hosting.
And the result is:

 1. If configured as it comes in the .zip, it works.
 2. When interfaces are configured with `<any-address/>`, then the redirect ends up at:
      http://0.0.0.0:9990/console/App.html#server/datasources

So in the end, the IPv6 may be system configuration related, but the redirect is wrong anyway IMO.

> 302 redirect from :8080/console  uses IPv6
> ------------------------------------------
>
>                 Key: AS7-1624
>                 URL: https://issues.jboss.org/browse/AS7-1624
>             Project: Application Server 7
>          Issue Type: Bug
>          Components: Domain Management
>    Affects Versions: 7.0.1.Final
>            Reporter: Ondrej Zizka
>            Assignee: Brian Stansberry
>
> The link at welcome page is 
> {code}
> <a href="/console">Administration Console</a>
> {code}
> which leads (in default config) to `<host>:8080/console`.
> It is handled by a HTTP 302 redirect, but for some reason it uses IPv6, so it does:
> {code}
> Resolving kyri.pohlidame.cz... 83.167.252.15
> Connecting to kyri.pohlidame.cz|83.167.252.15|:8080... connected.
> HTTP request sent... 302 Moved Temporarily
> Redirected to: http://0:0:0:0:0:0:0:0:9990/console [following]
> http://0:0:0:0:0:0:0:0:9990/console: Wrong port number.
> {code}
> There's no proxy or such.
> To be able to reach it remotely, I did this (only one) config change:
> {code}
>     <interfaces>
>         <interface name="management">
>             <any-address/>
>         </interface>
>         <interface name="public">
>             <any-address/>
>         </interface>
>     </interfaces>
> {code}

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

       



More information about the jboss-jira mailing list