users@glassfish.java.net

Re: How do I configure iiop listener for ipv6

From: Bernhard Thalmayr <bernhard.thalmayr_at_painstakingminds.com>
Date: Wed, 12 Oct 2011 09:30:36 +0200

Have you tried to specify the 'ANY' as listener-address .... this worked for
previous versions of the appserver ...

-Bernhard

On Wed, Oct 12, 2011 at 1:55 AM, Harshad Vilekar <harshad.vilekar_at_oracle.com
> wrote:

> On 10/06/2011 04:32 AM, Dipl.-Ing. Torsten Liermann wrote:
>
>> Hi,
>>
>> on my glassfish installation there are net services like jmx, jms
>> listening on all ipv4 and ipv6 interfaces:
>>
>> TCP 0.0.0.0:8686 0.0.0.0:0 LISTEN
>> TCP [::]:8686 [::]:0 LISTEN
>>
>> TCP 0.0.0.0:7676 0.0.0.0:0 LISTEN
>> TCP [::]:7676 [::]:0 LISTEN
>>
>> How do I have to setup the iiop listener for ipv6 and ipv4?
>>
>> A configuration like:
>>
>> <iiop-listener
>> port="3700"
>> id="orb-listener-1"
>> address="0.0.0.0"
>> lazy-init="true"></iiop-**listener>
>>
>> will only bind the iiop listener on all ipv4 interfaces.
>>
>
>
> This setting works OK on my system:
>
> <iiop-listener port="3700" id="orb-listener-1" address="::"
> lazy-init="true"></iiop-**listener>
>
> netstat shows:
>
> tcp 0 0 :::3700 :::*
> LISTEN
>
>
>
> When I try an address syntax like "[::]" or "::" it does not work.
>>
>
> Do you see any error in the server log ?
>
> Harshad.
>
>
> Thanks for a hint
>> Torsten
>>
>>
>